vlad-ignatov / react-numeric-input

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

Typing numbers with custom format gives incorrect results #96

Open nelyuska opened 6 years ago

nelyuska commented 6 years ago

On this component, when typing 123456789, you get numbers out of order. $ 123,568,974 Looks like the cursor is not moving accordingly after applying a custom format.

On this other component, when typing 123456789, you get exactly that, with the specified format. $ 123,456,789 http://react-component.github.io/input-number/examples/formatter.html