Skip to content

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

@DamienLaw

Description

@DamienLaw

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnext

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions