diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index a744d2960..b877690e3 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -484,7 +484,7 @@ class e_form $defaults['selectize'] = array( 'create' => true, - 'maxItems' => 7, + 'maxItems' => vartrue($options['maxItems'], 7), 'mode' => 'multi', 'plugins' => array('remove_button'), ); @@ -4523,7 +4523,7 @@ class e_form { $options['selectize'] = array( 'create' => true, - 'maxItems' => 7, + 'maxItems' => vartrue($parms['maxItems'], 7), 'mode' => 'multi', 'e_editable' => $field . '_' . $id, );