Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DamienLaw opened this issue Aug 15, 2022 · 0 comments
Labels
bug Something isn't working next

Comments

@DamienLaw
Copy link

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 DamienLaw changed the title Change event of an input spinner triggers the change events of all other input spinner Change event of an input spinner triggers the change events of all other input spinners Aug 15, 2022
@shaack shaack added the bug Something isn't working label Sep 21, 2022
@shaack shaack added the next label Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working next
Projects
None yet
Development

No branches or pull requests

2 participants