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
{{ message }}
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.
Toggle select
You can see that previously selected option has still "active" class - when other stuff (like placeholder) were reset to state before selecting.
When $select.selected is empty (undefined,empty string,null) active class should be removed from choice too (I am setting $select.activeIndex = -1).
Link to minimally-working plunker that reproduces the issue:
Bug description:
Following scenario:
You can see that previously selected option has still "active" class - when other stuff (like placeholder) were reset to state before selecting.
When $select.selected is empty (undefined,empty string,null) active class should be removed from choice too (I am setting $select.activeIndex = -1).
Link to minimally-working plunker that reproduces the issue:
https://codepen.io/anon/pen/YJXYKL
Version of Angular, UI-Select, and Bootstrap/Select2/Selectize CSS
Angular:
1.6.5
UI-Select:
latest
Bootstrap/Select2/Selectize CSS (if applicable):
3.1.1
The text was updated successfully, but these errors were encountered: