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

Prefix '-' does not allow to remove first number #729

Closed
2 of 6 tasks
kkhorshu opened this issue Feb 2, 2023 · 2 comments
Closed
2 of 6 tasks

Prefix '-' does not allow to remove first number #729

kkhorshu opened this issue Feb 2, 2023 · 2 comments

Comments

@kkhorshu
Copy link

kkhorshu commented Feb 2, 2023

Describe the issue and the actual behavior

If input contains prefix '-', then it is not possible to remove first number. The one number always remains as value

Describe the expected behavior

If input contains prefix '-', then it should be possible to remove all entered numbers

Provide a CodeSandbox link illustrating the issue

https://codesandbox.io/s/prefix-demo-forked-92816r

Provide steps to reproduce this issue

  1. Enter any number in input
  2. Press backspace until only 1 number is in input
  3. Press backspace one more time

Please check the browsers where the issue is seen

  • Chrome
  • Chrome (Android)
  • Safari (OSX)
  • Safari (iOS)
  • Firefox
  • Firefox (Android)
@Mudbill
Copy link

Mudbill commented Feb 22, 2023

I just encountered this as well, very strange.

@s-yadav
Copy link
Owner

s-yadav commented Mar 5, 2023

This should be fixed on v5.1.4

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

3 participants