“Mattenformfeld muss eine MatformfieldControl enthalten” Code-Antworten

Mattenformfeld muss eine MatformfieldControl enthalten

@NgModule({
    imports: [
        MatInputModule
    ],
    exports: [
        MatInputModule
    ]
})
GutoTrosla

Mattenformfeld muss eine MatformfieldControl enthalten

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>
Selfish Serval

Das Mat-Formfeld muss ein MatformfieldControl-Kontrollkästchen enthalten

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>
Lively Llama

Ähnliche Antworten wie “Mattenformfeld muss eine MatformfieldControl enthalten”

Fragen ähnlich wie “Mattenformfeld muss eine MatformfieldControl enthalten”

Weitere verwandte Antworten zu “Mattenformfeld muss eine MatformfieldControl enthalten” auf TypeScript

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen