I have a form using the reactive form approach. The form is created as follow in my pug:
form([formGroup]=\'form\', novalidate=\'\', (ngSubmit)=\'postSurvey(
This error also appears when we use a reactive form inside ng-template in conjunction with *ngIf.
ng-template
*ngIf
To avoid this use ng-container and do not use ngElse.
ng-container
ngElse