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
I noticed the package is using phone_number to validate the initial value.
In order for consistency, I would like to have the same validation as part of the validator.
However, the phone_number parse is an async method, may I know how to include it as part of the validator?
Btw, it would be great if that can be a built-in validation for this component, of course I understand that will give problem with error translation text, may be another suggestion is to expose the parse/validate method so we can implement ourselves without needing to import the phone_number package again.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
I noticed the package is using phone_number to validate the initial value.
In order for consistency, I would like to have the same validation as part of the validator.
However, the phone_number parse is an async method, may I know how to include it as part of the validator?
Btw, it would be great if that can be a built-in validation for this component, of course I understand that will give problem with error translation text, may be another suggestion is to expose the parse/validate method so we can implement ourselves without needing to import the phone_number package again.
Thanks.
The text was updated successfully, but these errors were encountered: