From e60982b5ce683fc6d295892fadc9251598cd1f1e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 21 Jun 2024 13:18:50 +0200 Subject: [PATCH] Code comment --- htdocs/core/class/commonobject.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 .= "