diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 47238cccb56..55250c4866c 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -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 .= "
"; + // 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 .= "