react-currency-input-field icon indicating copy to clipboard operation
react-currency-input-field copied to clipboard

onPaste with text + numbers unexpected behavior

Open RabbitShare opened this issue 9 months ago • 0 comments

Describe the bug Paste into input string like http://localhost:8086/

To Reproduce Steps to reproduce the behavior:

  1. Paste into input string like http://localhost:8086/
  2. Input value can change to 8086

Expected behavior Old value can't change or NaN

Code Sandbox default CodeSandbox template

Additional context For another languages NaN transform to native value like "не число ₸" where ₸ - suffix

RabbitShare avatar May 24 '24 08:05 RabbitShare