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

Numeric field value cannot be reset to empty from outside of input. #2829

Open
bartlomiejstrzelczyk opened this issue Nov 18, 2024 · 0 comments

Comments

@bartlomiejstrzelczyk
Copy link

  • Describe the bug
  1. Enter some value into the input
  2. Use backspace to remove the value, it correctly shows an empty input
  3. Enter some value again
  4. Click the reset button which sets input value to empty ('')
  5. Min value provided (in this case it's 1) is set as an input value

Additionally after input value is set to 1 by Inputmask, onChange event is not being called.

  • Add a link to a codepen, jsfiddle or other example page which shows the problem
    https://jsfiddle.net/u9qt35kL/1/
  • OS: Any
  • Browser: Any
  • Inputmask version: 5.0.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant