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

Paste from clipboard does not work if inputType number #399

Closed mutedSpectre closed 1 year ago

mutedSpectre commented 1 year ago

Hello. Using the latest version (v3), it was found that pasting from the clipboard does not work if inputType is set to 'number'.

prateek3255 commented 1 year ago

Okay looks like we'll need to update the handlePaste method to make it work for number inputs. Would you like to work on this @mutedSpectre?

mutedSpectre commented 1 year ago

@prateek3255 check my PR please.

AlvianOng commented 1 year ago

is there any progress on this bug? I just experienced the same issue when migrate to v3

riteshsainju commented 1 year ago

Any updates on this issue?

prateek3255 commented 1 year ago

Sorry for the delay here this issue was fixed with v3.0.3