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

Using "allowClear" doesn't update the value #2578

Closed
joelstein opened this issue Feb 26, 2021 · 4 comments
Closed

Using "allowClear" doesn't update the value #2578

joelstein opened this issue Feb 26, 2021 · 4 comments
Milestone

Comments

@joelstein
Copy link
Contributor

The new "allowClear" button doesn't update the value, though it does update the visual select element.

Environment details: Mac OS 11.2.1, Brave 1.20.108, jQuery 3.5.1, Bootstrap 4.6.0, bootstrap-select 1.14.0-beta.

Example which shows bug in action: https://plnkr.co/edit/XDJrlaaDguYig2sl

Related: #1449

@caseyjhol
Copy link
Member

The value is actually updating, but it's not triggering the change event.

@joelstein
Copy link
Contributor Author

Ah, thanks, I wasn’t sure. I put together a pull request which seems to work for me, but I didn’t fully understand the code...

@joelstein
Copy link
Contributor Author

Perfecto! Thank you so much.

@caseyjhol
Copy link
Member

Released in v1.14.0-beta2!

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

2 participants