RobinHerbots/Inputmask

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

bartlomiejstrzelczyk opened this issue · 0 comments

  • 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