I continue to get this error regardless of what I try.
html:
<form id="newCommittee" [formGroup]="newCommittee" >
<Input placeholder="Committee Name" class="col-4" formControlName="newCommitteeName" >
</form>
ts:
import { FormsModule, FormGroup, FormControl, ReactiveFormsModule, FormBuilder } from '@angular/forms';
constructor( private fb: FormBuilder ) {
this.newCommittee = this.fb.group({
newCommitteeName: new FormControl
});
}
Results in the error:
No value accessor for form control with name: 'newCommitteeDescription' at _throwError (forms.js:2144) at setUpControl (forms.js:2054)