Explorar el Código

Adding live search in select see BT#9379

Julio Montoya hace 9 años
padre
commit
ebe78a5e51
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      main/inc/lib/pear/HTML/QuickForm/select.php

+ 1 - 1
main/inc/lib/pear/HTML/QuickForm/select.php

@@ -550,7 +550,7 @@ class HTML_QuickForm_select extends HTML_QuickForm_element
                 $this->setName($myName);
             }
 
-            $strHtml .= $tabs . '<select class="selectpicker show-tick form-control"' . $attrString . ">\n";
+            $strHtml .= $tabs . '<select data-live-search="true" class="selectpicker show-tick form-control"' . $attrString . ">\n";
 
             $strValues = is_array($this->_values)? array_map('strval', $this->_values): array();