form builder1 ngModel cannot be used to register form controls with a parent formGroup directive. ERROR Error: ngModel cannot be used to register form controls with a parent formGroup directive. Try using formGroup's partner directive "formControlName" instead. Example: In your class: this.myGroup = new FormGroup({ firstName: new FormControl() }); Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions: Example: 해결방법 : formGroup 속성을 가진 태그의 하위.. 2020. 5. 27. 이전 1 다음 반응형