react-component/input-number

Overriding user input on big numbers with stringMode=true

Closed this issue · 1 comments

Steps:

  1. Render just the default InputNumber with stringMode=true
  2. Enter 12345678901234564
  3. Enter one more "4"
  4. You will get 123456789012345650 (expected Number overflow)

Expected behavior: on stringMode=true, converting to number and overflowing does not happen and i get 123456789012345644 as a string

Sorry, it actually works as expected