-
Notifications
You must be signed in to change notification settings - Fork 256
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
Block Negative Numbers #41
Comments
Seems like downgrade to 0.7 is the only way to now |
You can prevent '-' key from propagating by adding an event handler to your input element, for example like this:
|
still relevant in 2021 |
hey @ortonomy, Welcome I'm interested to maintain Negatives numbers can be blocked using the |
This can lead to false validation cause you can copy/paste a negative value |
I used this and it disallows copy and pasting
|
Hello! How i block negative numbers?
The text was updated successfully, but these errors were encountered: