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
SelectAll and DeselectAll issues #721
Comments
It was added so that clicking "Select All" after having done a search in the option would only select the visible options. I'll look into an alternative implementation. |
Perhaps |
Yeah, that would work. |
Just tested and it looks like that fixes it. |
Feel like committing the fix? |
Swamped with another project right now, but should be able to get to this next week. |
Please find a solution for this.. Very urgent |
+1 |
…#901) Fixes performance issues with select/deselect all Conflicts: dist/css/bootstrap-select.css dist/css/bootstrap-select.css.map dist/css/bootstrap-select.min.css dist/js/bootstrap-select.js dist/js/bootstrap-select.js.map dist/js/bootstrap-select.min.js
…intments#901)" This reverts commit 3e8eb6c. modified: dist/css/bootstrap-select.css modified: dist/css/bootstrap-select.css.map modified: dist/css/bootstrap-select.min.css modified: dist/js/bootstrap-select.js modified: dist/js/bootstrap-select.js.map modified: dist/js/bootstrap-select.min.js modified: js/bootstrap-select.js
I found that if I want to selectAll/deselectAll via program I must show the list items first otherwise these two events don't work.
And I digged into the code and I found that at line.860 and line.865, the selector for these two events is like this:
And the selector
.filter(':visible')
make this issue I guess. I commented this selector and then they work well.So why is
.filter(':visible')
added here? ThanksThe text was updated successfully, but these errors were encountered: