Error: formGroup expects a FormGroup instance. Please pass one in. Example: <div [formGroup]="myGroup"> <input formControlName="firstName"> </div> In your class: this.myGroup = new FormGroup({ firstName: new FormControl() });
Example: formGroup expects a FormGroup instance. Please pass one in. Example: In your class: this.myGroup = new FormGroup({ firstName: new FormControl() });.
// HTML form Group Name is Different may be Lower case Or Upper Case
<div [formGroup]="merchantResourceForm">
MerchantResourceForm = new FormGroup({