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
This commit is contained in:
CDDelta
2018-02-01 05:24:56 +11:00
committed by tinayuangao
parent b201dc7d30
commit 7dbebfa864
+3 -2
View File
@@ -140,5 +140,6 @@ This error occurs if you have added multiple hints for the same side. Keep in mi
This error occurs when you have not added a form field control to your form field. If your form
field contains a native `<input>` or `<textarea>` element, make sure you've added the `matInput`
directive to it. Other components that can act as a form field control include `<mat-select>`,
`<mat-chip-list>`, and any custom form field controls you've created.
directive to it and have imported `MatInputModule`. Other components that can act as a form field
control include `<mat-select>`, `<mat-chip-list>`, and any custom form field controls you've
created.