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

Select boxes with optgroups having duplicate issue in Bootstrap 5 #2607

Closed
ajaypatelaj opened this issue May 14, 2021 · 14 comments
Closed

Select boxes with optgroups having duplicate issue in Bootstrap 5 #2607

ajaypatelaj opened this issue May 14, 2021 · 14 comments

Comments

@ajaypatelaj
Copy link

Select boxes with optgroups having duplicate items issue in Bootstrap 5 as per the attached snap.

You can also test in on plnkr demo as mentioned below.

Guidelines for bug reports:

  1. Provide environment details. Provide your operating system, browser(s),
    jQuery version: as per plunker demo
    Bootstrap version: 5.0.1
    Bootstrap-select: v1.14.0-beta2

  2. Create an isolated and reproducible test case. Create a reduced test
    Demo: https://plnkr.co/edit/gqrED8PRIUcJtTSL?preview

Screenshot 2021-05-14 at 12 29 09 PM

It should be like

Screenshot 2021-05-14 at 12 35 04 PM

Thanks in advance! 🙏
Thanks a ton for providing the Bootstrap 5 support 🎉

@shankyag
Copy link

Hello,
Did you get the solution. because the same thing happening to me also.

@ajaypatelaj
Copy link
Author

Hello,
Did you get the solution. because the same thing happening to me also.

Not yet :(

@mrlife
Copy link

mrlife commented May 24, 2021

This issue was introduced with the first beta of 1.14 and affects Bootstrap 4.6 as well.

See: https://plnkr.co/edit/4XunklzplCVLrgAA

I submitted a PR that should fix the issue. It's a simple change and hopefully doesn't cause any other issue.

@shankyag
Copy link

FIxed.
#2562 (comment)

@wastzzz
Copy link

wastzzz commented Sep 7, 2021

Any news on this fix?

@Josh-Sul
Copy link

Josh-Sul commented Oct 2, 2021

Any updates, please?

@qbecker
Copy link

qbecker commented Oct 28, 2021

Is there a solution to this?

@farhadmammadli
Copy link

farhadmammadli commented Nov 2, 2021

For anyone looking for cdn hosted file with fix applied (tested with bootstrap 5.0.1):
https://cdn.jsdelivr.net/gh/farhadmammadli/bootstrap-select@main/js/bootstrap-select.min.js
(thanks to @sjamestasc)

@Luigii1506
Copy link

For anyone looking for cdn hosted file with fix applied (tested with bootstrap 5.0.1): https://cdn.jsdelivr.net/gh/farhadmammadli/bootstrap-select@main/js/bootstrap-select.min.js (thanks to @sjamestasc)

Working in bootstrap 5.0.2, thank you so much

@lolbat
Copy link

lolbat commented Nov 5, 2021

Thanks very much. We were going crazy trying to fix this

@sbraaa
Copy link

sbraaa commented Nov 10, 2021

Thanks

For anyone looking for cdn hosted file with fix applied (tested with bootstrap 5.0.1): https://cdn.jsdelivr.net/gh/farhadmammadli/bootstrap-select@main/js/bootstrap-select.min.js (thanks to @sjamestasc)

Thank you!

@SanderVanKeer
Copy link

is there a tag where this fix has been applied to? I would like to install/update it via composer

@nkavian
Copy link

nkavian commented Mar 22, 2022

For anyone looking for cdn hosted file with fix applied (tested with bootstrap 5.0.1): https://cdn.jsdelivr.net/gh/farhadmammadli/bootstrap-select@main/js/bootstrap-select.min.js (thanks to @sjamestasc)

This was a life saver. But, the title on select and optgroup don't work.

@rbferreyra
Copy link

There is a PR #2600. But the PR was not merged into branch v1.14.-beta2. Why?

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

Successfully merging a pull request may close this issue.