Solution: mat-form-field must contain a MatFormFieldControl error in Angular
If you are using Angular material in your project and if you have any forms in the application then you must be using Angular Material Form Field Component
Programming Blog
If you are using Angular material in your project and if you have any forms in the application then you must be using Angular Material Form Field Component