bootstrap-input-spinner icon indicating copy to clipboard operation
bootstrap-input-spinner copied to clipboard

Change event of an input spinner triggers the change events of all other input spinners

Open DamienLaw opened this issue 3 years ago • 0 comments

Version: 2.2.0 Steps to reproduce:

  1. Create 2 input spinners
  2. Attach change event handlers to both spinners
$("#spinnerA").change(function () {
    console.log("Hello");
});
$("#spinnerB").change(function () {
    console.log("World");
});
  1. Click on either one of the spinners' button (up or down).
  2. The console will print both Hello and World.

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.

DamienLaw avatar Aug 15 '22 18:08 DamienLaw