Created
January 7, 2018 19:35
-
-
Save uno-de-piera/2433d95725dd8c85ae52f6d898f43b50 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
phone: ['', Validators.compose( | |
[ | |
Validators.required, | |
Validators.pattern(/^[679]{1}[0-9]{8}$/) | |
] | |
)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment