DEV Community

Preetham
Preetham

Posted on

mat-form-field must contain a MatFormFieldControl

Hi, i am getting the above error " mat-form-field must contain a MatFormFieldControl" when i try to use angular material mat-formfield, after a couple of google, i have found that we have to import mat-input, i have imported but still facing the error, can anyone help to resolve will be appreciable

Discussion (1)

Collapse
gaurangdhorda profile image
GaurangDhorda

Hi, sure I will look into it. Please share more details and let's connect and discuss by email grdtechlab@gmail.com feel free to connect with me. Thanks!