Closed Andrii256 closed 1 year ago
What does this PR do? When isInputNum and user ctrl + v string with non-digits, then those digits filters from non-digits.
isInputNum
Any background context you want to provide? You can try set isInputNum true and try paste for example abc1234 and you will see what the bug is
abc1234
Screenshots and/or Live Demo Live demo https://monosnap.com/file/PzMs5VjsJEEwKmYfYCc3bJLOmC6btF
We have a published a new OTP input package right here. Please use this: https://www.npmjs.com/package/react18-input-otp
This has been fixed with v3
What does this PR do? When
isInputNum
and user ctrl + v string with non-digits, then those digits filters from non-digits.Any background context you want to provide? You can try set
isInputNum
true and try paste for exampleabc1234
and you will see what the bug isScreenshots and/or Live Demo Live demo https://monosnap.com/file/PzMs5VjsJEEwKmYfYCc3bJLOmC6btF