vlad-ignatov / react-numeric-input

Numeric input component for react
MIT License
280 stars 104 forks source link

fixing the negative zero issue #102

Open deanshub opened 6 years ago

deanshub commented 6 years ago

fixing #84

risaWY commented 5 years ago

Can we pull this in soon?

DanEastBentley commented 5 years ago

Can this branch be merged, please? With these props, min={-100} max={100} strict, I can't enter a negative number by typing: "-50".

mpeng commented 4 years ago

I did not see the fix in the version that I am using, which is: "react-numeric-input": "^2.2.3" i.e. the initial value is "0.0", then I am unable to enter "-1.0". The only way I can enter "-" is after I enter "1.0", then move cursor to front and add "-".