bootstrap-combobox icon indicating copy to clipboard operation
bootstrap-combobox copied to clipboard

Added fix for ignoring shortcut key combinations, added sinon js for unit testing

Open nichaladas opened this issue 9 years ago • 0 comments
trafficstars

When the combobox has focus, pressing any shortcut combination made up of alt/ctrl/meta and an alphanumeric character causes the combobox to open the menu and start searching. I've added a fix to ignore the keyup when the control, alt or meta keys are being held.

I also added a unit test which required the inclusion of the latest sinon.js so that I could spy on combobox functions.

nichaladas avatar Feb 12 '16 03:02 nichaladas