react-otp-input
react-otp-input copied to clipboard
BUG REPORT: isInputNum has no effect if non-numeric values are entered in the form input in demo
Steps to reproduce the issue:
- Check the isInputNum box
- Enter alphabetic values in the "value" input in the sidebar
Relevant error messages and/or screenshots:

@apollonian Could you please take a look? If approved, I would like to work on it.
This bug also occurs when a text is pasted on the code box.
Steps to reproduce the issue:
-
Check the isInputNum box.
-
Paste an alphabetic text copied from the clipboard in the code boxes.
Relevant error messages and/or screenshots:

I would like to work on this issue if approved.
This has been fixed with v3