devfolioco / react-otp-input

:heavy_check_mark: OTP Input Component for React
http://devfolioco.github.io/react-otp-input
MIT License
657 stars 427 forks source link

Disable onpaste #305

Closed parthasn closed 1 year ago

parthasn commented 3 years ago

Even if I have chosen isInputNum as true, on pasting characters still get pasted. If you could add a functionality to stop pasting it would be helpful.

ritikbanger commented 2 years ago

The feature is available in: https://www.npmjs.com/package/react18-input-otp

prateek3255 commented 1 year ago

This should no longer be an issue with v3