You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for create an awesome package for flutter developer.
I am facing the problem is try to verify the otp code from server side but now the Pinput's validator only accept synchronize function
So, I open a ticket to request new feature that validator field can receive a async function or new mechanism to verify the OTP code from server side.
I got here for similar problem, but it seems like there is a workaround -> #136.
You can supply onCompleted with async function and then, if validation on server fails, force this widget to go in error sate. I guess you should also set an errorText in that case and completely omit validator field.
I am not that happy with this solution (asyncValidator would be more elegant), but hey - it is what it is :)
Hi,
Thank you for create an awesome package for flutter developer.
I am facing the problem is try to verify the otp code from server side but now the Pinput's validator only accept synchronize function
So, I open a ticket to request new feature that
validator
field can receive a async function or new mechanism to verify the OTP code from server side.The text was updated successfully, but these errors were encountered: