-
-
Save jorroll/82763147f4aff6d63145b3241b5294fa 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
const formGroup = new FormGroup({ | |
id: new FormControl(''), | |
address: new FormGroup({ | |
street: new FormControl(''), | |
city: new FormControl(''), | |
}), | |
}); | |
formGroup | |
.observe('controls', 'address', 'controls', 'street', 'value') | |
.subscribe(value => { | |
// do stuff | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment