I am creating a form in Angular 2. My goal is to get data from the API and pass it into the form for editing purposes. However, I am running into this error:
This issue can happen when the FormGroup is not initialized. Please add *ngIf="patientForm" on form tag.
*ngIf="patientForm"