หลังจากอัปเกรดเป็น RC5 เราเริ่มได้รับข้อผิดพลาดนี้:
ngModel cannot be used to register form controls with a parent formGroup 
 directive.
Try using formGroup's partner directive "formControlName" instead.  Example:
    <div [formGroup]="myGroup">
      <input formControlName="firstName">
    </div>
    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:
      
  <div [formGroup]="myGroup">
     <input formControlName="firstName">
     <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">
  </div>
ดูเหมือนว่าใน RC5 จะไม่สามารถใช้ร่วมกันได้อีกต่อไป แต่ฉันไม่พบทางเลือกอื่น
นี่คือส่วนประกอบที่ทำให้เกิดข้อยกเว้น:
    <select class="field form-control" [formGroup]="form" [(ngModel)]="cause.id" [name]="name">
    <option *ngFor="let c of causes" [value]="c.text">{{c.text}}</option>
    </select>
FormsModuleและReactiveFormsModule?