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

fix: "input" and "change" events #133

Merged
merged 2 commits into from
Feb 21, 2025
Merged

Conversation

andreruffert
Copy link
Owner

What changed (additional context)

  • Do not send "input" event for initial value.
    In addition, programmatic value changes do not send the "input" event. This matches the default browser behavior.
  • Send "change" event only if value has changed
  • Test "input" & "change" events

In addition, programmatic value changes do not send the "input" event. This matches the default browser behavior.
@andreruffert andreruffert added the bug Something isn't working label Feb 21, 2025
@andreruffert andreruffert merged commit 7b5257d into main Feb 21, 2025
1 check passed
@andreruffert andreruffert deleted the fix-input-change-events branch February 21, 2025 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant