Skip to content

Commit f292680

Browse files
committed
docs(material/select): clarify that MatInputModule is needed for matNativeControl (#22793)
(cherry picked from commit 8d95c2f)
1 parent c28cd09 commit f292680

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/material/select/select.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Angular Material also supports use of the native `<select>` element inside of
1313
and usability advantages. See [the documentation for
1414
form-field](https://material.angular.io/components/form-field) for more information.
1515

16-
To use a native select inside `<mat-form-field>`, add the `matNativeControl` attribute
17-
to the `<select>` element.
16+
To use a native select inside `<mat-form-field>`, import `MatInputModule` and add the
17+
`matNativeControl` attribute to the `<select>` element.
1818

1919
<!-- example(select-overview) -->
2020

0 commit comments

Comments
 (0)