react-otp-input
react-otp-input copied to clipboard
Autofocus 1st input on error
- What does this PR do?
The PR adds functionality where when an error occurs, 1st cell is made as active
- Any background context you want to provide?
Based on comments on this issue: https://github.com/devfolioco/react-otp-input/issues/14#issuecomment-676439567
- Issue
https://github.com/devfolioco/react-otp-input/issues/14
- Screenshots and/or Live Demo
@apollonian @shaktigoap @ctrlaltdylan Can you help with the review?
@jitinmaher sorry I don't have write access I've just contributed a small PR.
@jitinmaher can i know did that changes added in previous index.jsx file??
Hi @AsbarAli @catchanuj , can you please merge the changes, this fix is really helpful. Thanks.
Hey @jitinmaher sorry for the delayed response. We updated the file structure with v3 can you reopen the PR with latest changes if they’re still needed