bootstrap-input-spinner
bootstrap-input-spinner copied to clipboard
Change event of an input spinner triggers the change events of all other input spinners
Version: 2.2.0 Steps to reproduce:
- Create 2 input spinners
- Attach
changeevent handlers to both spinners
$("#spinnerA").change(function () {
console.log("Hello");
});
$("#spinnerB").change(function () {
console.log("World");
});
- Click on either one of the spinners' button (up or down).
- The console will print both
HelloandWorld.
Expected result(s):
The console should only print EITHER Hello or World depending on which button of which spinner is clicked. NOT both.
One version prior (2.1.2) doesn't have this issue.