react-otp-input icon indicating copy to clipboard operation
react-otp-input copied to clipboard

For updating otp after changing numInputs

Open sshiv5768 opened this issue 5 years ago • 0 comments

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

sshiv5768 avatar Oct 01 '20 18:10 sshiv5768