react-otp-input
react-otp-input copied to clipboard
For updating otp after changing numInputs
Whenever user tries to change numinputs otp value does not change. I think creating clearOtp() before handlechange() and putting it after changing numinputs will help in this matter.
-
What does this PR do?
-
Any background context you want to provide?
-
Screenshots and/or Live Demo