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

selectpicker should refresh itself on changes instead of needing to be told #1360

Open
myklemykle opened this issue Apr 12, 2016 · 1 comment
Milestone

Comments

@myklemykle
Copy link

We're using bootstrap-select at my office, and we've hit at least a half-dozen places where we have to jam a special call to selectpicker("refresh") just because we changed some select element. I see many issues reported about this sort of problem here as well.

My question is: why should users of bootstrap-select ever need to call refresh? Why doesn't bootstrap-select use the mutationObserver API to receive an event whenever a relevant change has been made on the select element, and then refresh itself?

We've used this approach with other custom HTML elements in house, and it seems to work.

@caseyjhol
Copy link
Member

This will have to wait until v2.0.0 when we are able to drop support for IE < 11.

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