Skip to content
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

Closed
tjmay1981 opened this issue Jan 21, 2020 · 1 comment
Closed

Specifying a Title and OptGroups creates a redundant divider #2380

tjmay1981 opened this issue Jan 21, 2020 · 1 comment

Comments

@tjmay1981
Copy link

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.

@caseyjhol
Copy link
Member

Released in v1.13.16!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants