slim-select icon indicating copy to clipboard operation
slim-select copied to clipboard

Can't get de-selected value

Open Mu2tini opened this issue 5 years ago • 1 comments

When using single select and having the property allowDeselect set to true there is no way to get the de-selected value.

OnChange() is called but the info argument has empty fields and beforeOnChange() doesn't get called att all when de-selecting. Is this a bug, because would really like to have this feature...

Mu2tini avatar Jan 17 '20 09:01 Mu2tini

Sounds like a minor oversight. Ill see about adding a beforeOnChange call when deselecting a value. Although right now you should already know the value selected before clicking deselect

brianvoe avatar Jan 17 '20 17:01 brianvoe

New version of slim select has been released. If this is still an issue let me know and ill try to take care of it.

brianvoe avatar Nov 21 '22 01:11 brianvoe