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

Multiple ticks in optgroup with data-max-options defined as "1" #2289

Closed
adamkalis opened this issue May 30, 2019 · 5 comments
Closed

Multiple ticks in optgroup with data-max-options defined as "1" #2289

adamkalis opened this issue May 30, 2019 · 5 comments

Comments

@adamkalis
Copy link

Starting from v1.13.9, optgroup with data-max-options="1" doesn't work as expected.

In this example, with bootstrap v3.3.6 and bootstrap-select v1.13.9, when you click from top to bottom all the options in the popup menu, the ticks don't work as expected. It looks like a UI issue, as when the menu is closed and opened again then it shows the right selection.

The expected behavior can be seen in this example, with bootstrap v3.3.6 and bootstrap-select v1.13.8.

I've created also this example with bootstrap v4 and boostrap-select v1.13.10.

Unfortunately I wasn't able to check it in more depth, a quick guess is that the issue is related to the changes for issue #2126.

I've tested the examples above on both firefox and chromium in a linux distribution.

@leanec
Copy link

leanec commented Jun 24, 2019

Same problem with Bootstrap v3.4.1 andd Bootstrap-select v1.13.10

@Merlingilb
Copy link

Please fix this!
Bootstrap-select is such a good tool if there wasn't that issue

@Merlingilb
Copy link

same problem with bootstrap v4.3.1 and bootstrap-select v1.13.8

caseyjhol added a commit that referenced this issue Aug 7, 2019
…liIndex needs to be used when calling setSelected with maxOptions group. Simplify maxOptions code. (#2289)
caseyjhol added a commit that referenced this issue Aug 7, 2019
@Merlingilb
Copy link

glad to hear that

@caseyjhol
Copy link
Member

Released in v1.13.11!

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

4 participants