Merge pull request #17442 from atm-john/11.0_fix_showInputField_checkbox_selection
FIX : Show input field checkbox selection
This commit is contained in:
commit
e6b4f1eab6
@ -1339,7 +1339,10 @@ class ExtraFields
|
|||||||
}
|
}
|
||||||
elseif ($type == 'checkbox')
|
elseif ($type == 'checkbox')
|
||||||
{
|
{
|
||||||
$value_arr = explode(',', $value);
|
$value_arr = $value;
|
||||||
|
if (!is_array($value)) {
|
||||||
|
$value_arr = explode(',', $value);
|
||||||
|
}
|
||||||
$out = $form->multiselectarray($keyprefix.$key.$keysuffix, (empty($param['options']) ?null:$param['options']), $value_arr, '', 0, '', 0, '100%');
|
$out = $form->multiselectarray($keyprefix.$key.$keysuffix, (empty($param['options']) ?null:$param['options']), $value_arr, '', 0, '', 0, '100%');
|
||||||
}
|
}
|
||||||
elseif ($type == 'radio')
|
elseif ($type == 'radio')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user