Description
If a select element is initialized with allow_single_deselect
it works just fine for the event trigger passing the selected when the user makes a selection, but if the user selects the x on the select box (created by the allow_single_deselect), or selects another option, it does not pass the deselected param.
It does trigger a change event, but no other data to determine what was deselected.
My specific use case is two select elements with the options in each one. One is a mutli-select and the other is a single select.
If a user selects an option in the single select, that same option value in the multi-select I am disabling by setting that option to disabled based on the params (selected or deselected) and then triggering chosen:updated
... which sorta works, except when using the single select.
It seems the single select (changing single dropdown from one value to another, or using allow_single_deselect
) does not trigger any deselected events.