mat-form-field must contain a MatFormFieldControl
@NgModule({
imports: [
MatInputModule
],
exports: [
MatInputModule
]
})
mat-form-field must contain a MatFormFieldControl
@NgModule({
imports: [
MatInputModule
],
exports: [
MatInputModule
]
})
mat-form-field must contain a MatFormFieldControl
Maybe you need to close <input> tag:
<!-- Wrong -->
<mat-form-field>
<input matInput>
</mat-form-field>
<!-- Right -->
<mat-form-field>
<input matInput />
</mat-form-field>
mat-form-field must contain a matformfieldcontrol checkbox
The following Angular Material components are designed to work inside a <mat-form-field>:
<input matNativeControl> & <textarea matNativeControl> (version 7 & newer)
<select matNativeControl> (version 7 & newer)
<input matInput> & <textarea matInput> (version 5 & 6)
<mat-select>
<mat-chip-list>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us