mat-form-field must contain a MatFormFieldControl. at getMatFormFieldMissingControlError code example
Example: mat-form-field must contain a MatFormFieldControl
@NgModule({
imports: [
MatInputModule
],
exports: [
MatInputModule
]
})