Angular - Reactive Forms
You wrote this reactive form code but get an error:
form.controls['name'] is undefined. What is the likely cause?this.form = new FormGroup({ email: new FormControl('') }); console.log(this.form.controls['name'].value);