Created
August 15, 2019 13:51
-
-
Save crh225/8a11c48ec19501667944b6df3efb33ab 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
form: FormGroup; | |
ngOnInit() { | |
this.form = new FormGroup({ | |
'username': new FormControl('') | |
}); | |
this.addValidator(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment