Skip to content

Glossary: Angular Beyond the Basics

mat-form-field

Also written: matInput, mat-label, mat-error, mat-select, mat-option

Material's wrapper that draws a labelled box around an input. `<mat-error>` shows only when the control is invalid and touched, and `<mat-select>` with `<mat-option>` replaces `<select>`.

Where the book teaches it

Related terms

Angular Materialtouched