We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is it possible to allow multiple countries into phone validator?
These works individually :
But when trying to do both ,"ERROR TypeError: Cannot read property '9' of undefined"
new FormControl(null, Validators.compose([Validators.required, CustomValidators.phone(['US','CA'])])),
Curious to know if there is multiple country support . If so how do we do?. Thank you
The text was updated successfully, but these errors were encountered:
Added this feature, see my pull request.
You can use it like CustomValidators.phone('EN', 'US')
CustomValidators.phone('EN', 'US')
Sorry, something went wrong.
No branches or pull requests
Is it possible to allow multiple countries into phone validator?
These works individually :
But when trying to do both ,"ERROR TypeError: Cannot read property '9' of undefined"
new FormControl(null, Validators.compose([Validators.required, CustomValidators.phone(['US','CA'])])),
Curious to know if there is multiple country support . If so how do we do?. Thank you
The text was updated successfully, but these errors were encountered: