Angular - Troubleshooting - MatFormFieldControlError

mat-form-field must contain a MatFormFieldControl - textarea control

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
I had to add a matInput statement 

<div fxFlex="17%">
<mat-form-field class="full-width" appearance="fill">
<mat-label>Note</mat-label>
<textarea
*matInput*
placeholder="Note"
formControlName="note"
>
</textarea>

<mat-error *ngIf="errorFormData?.Note">
{{errorFormData?.Note}}
</mat-error>
</mat-form-field>s

</div>