otp_textfield icon indicating copy to clipboard operation
otp_textfield copied to clipboard

Clear the form and start again

Open MobiNeil opened this issue 7 months ago • 1 comments

How do you clear all the fields and allow the user to start again?

Even is I use 'handleControllers' to access the individual fields and clear them all, then start entering digits from the first field, the 'onSubmit()' function still gets called with the old values.

The intention is that if the user enters an incorrect 4 digit code, that the form clears and they start again.

MobiNeil avatar Jul 16 '24 10:07 MobiNeil