fabianlindfors / multi.js

A user-friendly replacement for select boxes with the multiple attribute enabled
https://fabianlindfors.se/multijs
MIT License
953 stars 76 forks source link

call back function when clicking disabled options? #33

Closed 2x2p closed 4 years ago

2x2p commented 5 years ago

in order to report to the UX why a selection option is currently disabled a call back function would be be useful much alike attaching a function to limit_reached, Only this one should be sending back the option.value and option.text of the clicked disabled item for it to be further handled externally.

fabianlindfors commented 5 years ago

Nice idea! If you implement this feature and submit a pull request I'd be happy to accept it. A bit too busy currently to work on this :)