Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phone Number validation #20

Open
jasonlaw opened this issue Nov 9, 2021 · 0 comments
Open

Phone Number validation #20

jasonlaw opened this issue Nov 9, 2021 · 0 comments

Comments

@jasonlaw
Copy link

jasonlaw commented Nov 9, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant