issues
search
Ralfarios
/
antd-input-otp
An OTP Input Component based on Ant Design Component Library for React.
https://www.npmjs.com/package/antd-input-otp
19
stars
4
forks
source link
Feat: Autofocus, InputRef, Paste, and Fix Regex
#11
Closed
Ralfarios
closed
1 year ago
Ralfarios
commented
1 year ago
Changes:
Added
autoFocus
props for better UX.
Added
inputRef
for you that want to goes hacky stuff.
Paste to the component is working now!
Some adjustment under the hood like changing from useRef to useState for storing the value.
Changes:
autoFocus
props for better UX.inputRef
for you that want to goes hacky stuff.