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
Only non-selected items are removed from the options
Any current selections are cleared, but remain as options
Cause:
#1553 (released in v0.13.1) added back the self.clear() to the end of the clearOptions code, but did not remove the logic change that prevents currently-selected items from being removed from the list of options. This PR was intended to close #832 , but that request only made sense before the behavior of clearOptions() was changed (in v0.12.5) to not affect the current selection. I suspect that this oversight was due to v0.12.5 not updating the docs to clarify that selected items were intended to be kept--the newer PR also updated the docs to imply that the pre-0.12.5 behavior was intended.
The text was updated successfully, but these errors were encountered:
I did:
(or gave a link to a demo on the Selectize docs)
like below
[replace me with a short description of issue]
Steps to reproduce:
clearOptions()
buttonExpected result:
EITHER:
OR:
Actual result:
Cause:
#1553 (released in v0.13.1) added back the
self.clear()
to the end of theclearOptions
code, but did not remove the logic change that prevents currently-selected items from being removed from the list of options. This PR was intended to close #832 , but that request only made sense before the behavior ofclearOptions()
was changed (in v0.12.5) to not affect the current selection. I suspect that this oversight was due to v0.12.5 not updating the docs to clarify that selected items were intended to be kept--the newer PR also updated the docs to imply that the pre-0.12.5 behavior was intended.The text was updated successfully, but these errors were encountered: