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

Autofocus 1st input on error

Open jitinmaher opened this issue 4 years ago • 4 comments

  • 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

Kapture 2020-10-06 at 21 41 17

jitinmaher avatar Oct 06 '20 16:10 jitinmaher

@apollonian @shaktigoap @ctrlaltdylan Can you help with the review?

jitinmaher avatar Oct 07 '20 18:10 jitinmaher

@jitinmaher sorry I don't have write access I've just contributed a small PR.

ctrlaltdylan avatar Oct 07 '20 19:10 ctrlaltdylan

@jitinmaher can i know did that changes added in previous index.jsx file??

shivakrishna17 avatar Dec 15 '21 07:12 shivakrishna17

Hi @AsbarAli @catchanuj , can you please merge the changes, this fix is really helpful. Thanks.

ishwark7 avatar Apr 08 '22 11:04 ishwark7

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

prateek3255 avatar Mar 26 '23 07:03 prateek3255