snapappointments / bootstrap-select

:rocket: The jQuery plugin that brings select elements into the 21st century with intuitive multiselection, searching, and much more.
https://developer.snapappointments.com/bootstrap-select/
MIT License
9.84k stars 2.72k forks source link

keyCode isn't propagated in the event #2868

Open Cerusa opened 3 months ago

Cerusa commented 3 months ago

I am using changed.bs.select and when I use e to get keyCode it's always undefined. It looks like it's not being populated?

I am using your amazing tool as a better auto complete. I want to detect when a user is using their mouse vs keyboard because I want to handle the events differently.

If a user is using the mouse then they are pointing and clicking their way around.

If the user is using their keyboard then I want to re-open the selectpicker after changed is fired so they can keep making other selections (think bulk add).