-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specifying a Title and OptGroups creates a redundant divider #2380
Comments
Released in v1.13.16! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Specifying the title attribute when optgroups are being used results in a redundant
<li class="dropdown-divider optgroup-1div">
being added to the start of the list.Reproduced in Firefox, Chrome and Microsoft Edge on Windows 10
bootstrap-select v1.13.12
jQuery v3.4.1
Bootstrap v4.4.1
Demonstrated here: https://plnkr.co/edit/RHA12B5OFfxR2jqg5EEQ?p=preview
This seems to be due to the programmatically added
<option class="bs-title-option">
being considered as part of the genuine structure of the list.The text was updated successfully, but these errors were encountered: