issues
search
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
Feat: invoke user specified "onSubmit" on pressing enter
#360
Closed
dr-debugger
closed
1 year ago
dr-debugger
commented
1 year ago
now without wrapping "form" on the "OtpInput" component, user can pass a specified function via
onSubmit
props.
After filling all OTP , if user press enter then the passed function will be invoked.
Kindly let me know if I need to do any other changes. Thanks.
Kindly let me know if I need to do any other changes. Thanks.