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
IMask inputs 0 when last digit is deleted #798
Comments
I've tested your codesandbox but on Chrome on Windows 11 it works like expected... Edit: |
Can this be released? |
Can you please release this fix? Thanks. |
Can this be released? If not the issue isn't closed on our end @uNmAnNeR |
Can this be released? @uNmAnNeR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When using a Number mask, after entering some number and after deleting the last digit, 0 will appear in the input and the cursor will move in front of it. This does not happen with 6.2.2. It started to happen since 6.3.
To Reproduce
https://codesandbox.io/s/chakra-ui-react-imask-react-hook-form-forked-0j7mmt
Expected behavior
It should not put 0 in the input when the last digit is deleted in the input, the input should be empty.
Environment:
The text was updated successfully, but these errors were encountered: