Hi,
I have custom plugin for product with some extra textarea field like custom_value field.
When I save custom field with carriage return will be converted in but when it was re-render it's show with out reconversion process.
Also custom_value field of textInput plugin will store as but this will render in correct way.
Example: when i save in custom_value and in my textarea field:
QuoteYellow
Green
Red
It is save on db like:
QuoteYellow Green Red
This same DB value will be rendered in right way on custom_field but not in my text_area (custom_field_params).
I see you change in last version of VM recursiveFilter in line 250 that now apply
if(!empty($v)){
if( is_array($v) ){ //and count($v)>1){
self::recurseFilter($v, $filter, $flags);
} else {
$v = filter_var($v, $filter, $flags);
}
}
There is any way to fix this beaveour and returning to have
\r\n saved on DB or have right rendering of carriage return?
Version:
Joomla! 3.8.10
VirtueMart 3.2.14
PHP Version 5.6.36
Thanks any help is appreciate.