Open deepnrng opened 2 years ago
I tried to use code={otp} property and setting the otp field only when it's a valid input. I was able to prevent/clear the user from providing incorrect character. But cursor moved to next field anyway.
This is a very buggy library. Better to create your own or just fork this repo and customise it.
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.