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
Hi, never found a solution and the underlying framework I had to use required the underlying pieces to be updated. Had to drop chosen for that project and use a different framework.
Chosen 1.8.5 on sample page at https://harvesthq.github.io/chosen/#allow-deselect-on-single-selects , Windows 7 32 bits + Chrome 66.
deselect on single selects updates display but not underlying option's selected state
Steps to reproduce
Go to https://harvesthq.github.io/chosen/#allow-deselect-on-single-selects
Click on the x to de-select "Sloth bear"
Once the UI no longer displays "Sloth bear", right-click on the control and select "Inspect"
Expand the select html under the div whose class="side-by-side clearfix", notice that the option with "Sloth bear" is still selected.
Expected behavior
option element's 'selected' value should be removed.
Actual behavior
option element's 'selected' value stayed selected.
Environment
Chosen Version: Chosen 1.8.5
jQuery or Prototype Version: JQuery 3.2.1 min
Browser and Version: Chrome 66
OS and Version: Windows 7 home, 32 bits
Additional information:
paste of the HTML after clicking the X and seeing Sloth bear being de-selected:
American Black Bear Asiatic Black Bear Brown Bear Giant Panda Sloth Bear Sun Bear Polar Bear Spectacled BearThe text was updated successfully, but these errors were encountered: