doc(select): clarify examples for symbols exported by FormsModule and ReactiveFormsModule. (#9461)

This commit is contained in:
Joey Perrott
2018-01-18 10:42:52 -08:00
committed by GitHub
parent f5d4f16c77
commit ef78a97edd
+3 -3
View File
@@ -17,8 +17,8 @@ forms.
<!-- example(select-value-binding) -->
The `<mat-select>` also supports all of the form directives from the core `FormsModule` and
`ReactiveFormsModule` (`ngModel`, `formControl`, etc.) As with native `<select>`, `<mat-select>`
The `<mat-select>` also supports all of the form directives from the core `FormsModule` (`NgModel`) and
`ReactiveFormsModule` (`FormControl`, `FormGroup`, etc.) As with native `<select>`, `<mat-select>`
also supports a `compareWith` function. (Additional information about using a custom `compareWith`
function can be found in the
[Angular forms documentation](https://angular.io/api/forms/SelectControlValueAccessor#caveat-option-selection)).
@@ -67,7 +67,7 @@ on the group.
### Multiple selection
`<mat-select>` defaults to single-selection mode, but can be configured to allow multiple selection
`<mat-select>` defaults to single-selection mode, but can be configured to allow multiple selection
by setting the `multiple` property. This will allow the user to select multiple values at once. When
using the `<mat-select>` in multiple selection mode, its value will be a sorted list of all selected
values rather than a single value.