You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's been almost 5 years since the 4.x line of Select2 was released. A lot has changed during that time.
selected options are still visible in autocomplete
That's an accessibility feature, not a bug. There is no way to remove arbitrary options without a mouse if the options aren't visible in the dropdown.
removing selected option opens autocomplete
That's a feature, not a bug. You can find out how to disable it at #3320 (comment).
3. mouse click and keyboard enter behave differently
This is an accessibility feature, not a bug. CTRL + SPACE handles toggling a selected option (so both select and unselect). ENTER only selects options. Otherwise you could hold down ENTER and unselect all of your options by mistake.
There are 3 bugs in version 4.0.x when using multi-value select with optgroup.
Version 3.5.3 works correctly.
Here is source code
version 4.0.x: bug
https://codepen.io/fafejtao/pen/mdyYJbP
version 3.5.3 works correctly
https://codepen.io/fafejtao/pen/qBEGdpd
https://github.com/fafejtao/select2_bug
The text was updated successfully, but these errors were encountered: