Bootstrap-select: optgroup with bootsrap 5

Created on 29 Mar 2021  路  2Comments  路  Source: snapappointments/bootstrap-select

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

bug

Most helpful comment

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

All 2 comments

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DjSunrise picture DjSunrise  路  3Comments

AndreasPresthammer picture AndreasPresthammer  路  3Comments

qiyuan4f picture qiyuan4f  路  4Comments

Godrules500 picture Godrules500  路  4Comments

bhritch picture bhritch  路  3Comments