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

Placeholder doesn't work when the first option is disabled #2507

Closed
highstrike opened this issue Jul 24, 2020 · 2 comments
Closed

Placeholder doesn't work when the first option is disabled #2507

highstrike opened this issue Jul 24, 2020 · 2 comments

Comments

@highstrike
Copy link

Similar to #1839

I have a simple select, when the 1st option is disabled the placeholder doesn't work and the select is initialized with the first non-disabled option.

this behavior can be seen here -> https://plnkr.co/edit/9QZaeAY7Yh1JxnA8

the first select has the first option disabled so it doesn't show the placeholder and selects the next available value
the 2nd select works as expected

I am on bootstrap 4.5.0, running bootstrap-select version 1.13.18 with jquery 3.5.1 on chrome on both macos catalina and windows 10

@caseyjhol
Copy link
Member

Released in v1.14.0-beta!

@highstrike
Copy link
Author

Thanks for the fix, problem is I don't even remember the project where I've had this problem 😅

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

No branches or pull requests

2 participants