Skip to content

Commit 7dbebfa

Browse files
CDDeltatinayuangao
authored andcommitted
docs(form-field): mention MatInputModule when using matInput (#9647)
* docs(form-field): mention MatInputModule when using matInput * docs(form-field): mention MatInputModule when using matInput
1 parent b201dc7 commit 7dbebfa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/lib/form-field/form-field.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,5 +140,6 @@ This error occurs if you have added multiple hints for the same side. Keep in mi
140140

141141
This error occurs when you have not added a form field control to your form field. If your form
142142
field contains a native `<input>` or `<textarea>` element, make sure you've added the `matInput`
143-
directive to it. Other components that can act as a form field control include `<mat-select>`,
144-
`<mat-chip-list>`, and any custom form field controls you've created.
143+
directive to it and have imported `MatInputModule`. Other components that can act as a form field
144+
control include `<mat-select>`, `<mat-chip-list>`, and any custom form field controls you've
145+
created.

0 commit comments

Comments
 (0)