enableClickableOptGroups not work correctly when optgroup and option mixed
select code:
<select name="select_projects" id="select_projects"> <optgroup label="client1"> <option value="">project2.xml</option> </optgroup> <option value="">project0.xml</option> </select>
I had the same problem, did a quick - and hopefully - proper fix. See attached (sorry, I don't have time for GIT now)
Fix includes adding classes to optgroup>option elements (createOptgroup function, mass select onclick event) and some minor changes to .css. This version of css also includes necessary CSS from bootstrap (3.3.7) - I could not include whole bootstrap.css to my page due to incompatibility issues. Lines copied over from bootstrap.css are in the front of the file, bootstrap-multiselect's related are in the last line - minified, only new selector added.
I might look into the fix, but for now I will update the documentation.
i hope this gets fixed.. it's a very useful functionality