Skip to content
Snippets Groups Projects

B15729 textelement auto multiline

Merged Pascal Rössler requested to merge B15729_textelement_auto_multiline into develop
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
@@ -1513,6 +1513,11 @@ abstract class AbstractBuildForm {
$formElement[FE_INPUT_TYPE] = 'number';
}
// when size empty but value contains \n then set auto multi line
if (strpos($value, "\n") == true && empty($formElement[FE_SIZE])) {
$formElement[FE_SIZE]='50,2';
}
// Check for input type 'textarea'. Possible notation: a) '', b) '<width>', c) '<width>,<height>', d) '<width>,<min-height>,<max-height>'
$colsRows = explode(',', $formElement[FE_SIZE], 3);
Loading