Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

ERROR Error: mat-form-field must contain a MatFormFieldControl.

Make sure matInput is with lowercase 'm'
I had this error and one of my controls had MatInput instead of matInput

In any case just double check the spelling of your directives and components
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ERROR
ADD COMMENT
Topic
Name
3+3 =