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

Cannot easily set negative values on a bound <input type="number"> #519

Open
ruimgoncalves opened this issue Aug 30, 2015 · 1 comment
Open

Comments

@ruimgoncalves
Copy link

If there is an input element with type number and a bound value attribute, its not easy to enter a negative value.

If you type a minus char in an empty input field, the text is cleared before you can enter a numeric value.
The only way to insert a negative value is to do it throw the up down buttons or to insert a leading minus after some numbers are already present in the field.

Tested on Firefox.

@kRaw1er
Copy link

kRaw1er commented Feb 20, 2016

and floats, for example: 3.5
btw, unfortunately, your hack isn't working for floats

This was referenced Jul 18, 2018
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

2 participants