Code comment

This commit is contained in:
Laurent Destailleur 2024-06-21 13:18:50 +02:00
parent 8c99f6e7c3
commit e60982b5ce

View file

@ -7463,7 +7463,8 @@ abstract class CommonObject
} elseif (preg_match('/^text/', (string) $type)) {
if (!preg_match('/search_/', $keyprefix)) { // If keyprefix is search_ or search_options_, we must just use a simple text field
if (!empty($param['options'])) {
$out .= "<br>";
// If the textarea field has a list of arrayofkeyval into its definition, we suggest a combo with possible values to fill the textarea.
//var_dump($param['options']);
$out .= $form->selectarray($keyprefix.$key.$keysuffix."_multiinput", $param['options'], '', 1, 0, 0, "flat maxwidthonphone".$morecss);
$out .= "<script>";
$out .= '