Skip to content
Snippets Groups Projects
Commit b0fb7048 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

bootstrap-select: remove number of values

parent ac793f9f
Branches
No related tags found
1 merge request!72OP#7651 CI Server: beide AWX ansteuerbar machen https://projects.iml.unibe.ch/work_packages/7651
......@@ -254,7 +254,7 @@ class formgen
$elementData['class'] .= " form-control" . (isset($this->aFeatures['bootstrap-select']) && $this->aFeatures['bootstrap-select'] ? " selectpicker" : "");
$sFormElement .= '<div class="' . $sDivClass . '">' . "\n" . '<select id="' . $sId . '" '
. $this->_addHtmlAtrributes(explode(",", "$sDefaultAttributes,name,onchange"), $elementData)
. (isset($this->aFeatures['bootstrap-select']) && $this->aFeatures['bootstrap-select'] ? ' data-live-search="true" data-size="15"' : '');
. (isset($this->aFeatures['bootstrap-select']) && $this->aFeatures['bootstrap-select'] ? ' data-live-search="true"' : '');
$sFormElement .= ">\n";
foreach ($elementData["options"] as $idOption => $aOptionData) {
$s = preg_replace('/\W/iu', '', $sId . $idOption);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment