diff --git a/main/inc/lib/formvalidator/Element/select_ajax.php b/main/inc/lib/formvalidator/Element/select_ajax.php index 0b907c8553..0f1fe50ad7 100644 --- a/main/inc/lib/formvalidator/Element/select_ajax.php +++ b/main/inc/lib/formvalidator/Element/select_ajax.php @@ -59,13 +59,19 @@ class HTML_QuickForm_Select_Ajax extends HTML_QuickForm_select $width = $givenWidth; } + //Get the minimumInputLength for select2 + $minimumInputLength = ($this->getAttribute('minimumInputLength') > 3)? + $this->getAttribute('minimumInputLength') : + 3 + ; + $html .= '