Created
June 28, 2019 05:15
-
-
Save lyraddigital/4daa071937af550f27a1e1bf271203e6 to your computer and use it in GitHub Desktop.
Tinkering with Tech - Build a switch control in Angular 8 example - FormGroup set up
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
ngOnInit() { | |
this.formGroup = this.formBuilder.group({ | |
isActivated: [true] | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment