Hi! in the lastest version I see that the optgroup options have a checkbox. Is this intended ? I was using a older version and the optgroup doesn't have it.
Older version
Lastest version
I managed to hide that input checkbox, LOC 940 in file bootstrap-multiple.js
if (this.options.enableClickableOptGroups && this.options.multiple) {
$('a label', $li).prepend('<input type="checkbox" style="display:none" value="' + value + '"/>');
}
Adding the display: none in style. I can make a pull request if you want.
Cheers
The default behavior is to show the optgroups without checkbox (i.e. by default enableClickableOptGroups is disabled) - this also works in the documentation, see one of the last examples at http://davidstutz.github.io/bootstrap-multiselect/#configuration-options-multiple.
Hi!
Sorry but I have the opposite problem. I want to show the checkbox of the optgroups father. How can I do?
Thanks
Most helpful comment
Hi!
Sorry but I have the opposite problem. I want to show the checkbox of the optgroups father. How can I do?
Thanks