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

optgroup with bootsrap 5 #2592

Closed
ay1man4 opened this issue Mar 28, 2021 · 4 comments
Closed

optgroup with bootsrap 5 #2592

ay1man4 opened this issue Mar 28, 2021 · 4 comments
Labels

Comments

@ay1man4
Copy link

ay1man4 commented Mar 28, 2021

Hello,

I faced below unexpected behavior in bootstrap-select v1.14.0-beta2 with bootstrap 5.0 beta-3.

  1. If optgroup is used, selected option will be repeated multiple times (same count of optgroups).
  2. If option is used with optgroup, for example to show default selected option, then list will disappear.

I've created sample codepen to illustrate the issue:

bootstrap-select optgroup issue

Thanks

@leonbotros
Copy link

Can confirm, I have this issue as well on bootstrap 5.0.0-beta3 and bootstrap-select 1.14.0-beta2.

@caseyjhol
Copy link
Member

Same as #2607 (which will be resolved in the next release).

@Raketten1963
Copy link

I am unable to find anything newer than mentioned 1.14.0 beta 2 on jsdelivr, am I missing something?

@Abhijeet1520
Copy link

This issue seems to be resolved in 1.14.0-beta3
you can upgrade the package to https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap-select.min.js
and it should work fine

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

No branches or pull requests

5 participants