devfolioco / react-otp-input

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

How to handle pasted value prevent #367

Closed Mahi-edward closed 1 year ago

Mahi-edward commented 1 year ago
prateek3255 commented 1 year ago

onPaste is handled by the library itself, you don't need to handle it yourself