Skip to content

Commit eaf773d

Browse files
committed
docs(material/select): Disabling the select or individual options
Update documentation to include ReactiveForms use case Fixes #24762
1 parent 7746db5 commit eaf773d

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
@@ -55,8 +55,8 @@ In some cases that `<mat-form-field>` may use the placeholder as the label (see
5555
It is possible to disable the entire select or individual options in the select by using the
5656
disabled property on the `<select>` or `<mat-select>` and the `<option>` or `<mat-option>` elements respectively.
5757
When working with Reactive Forms the select component can be disabled/enabled via form controls.
58-
This can be accomplished by creating a FormControl with the disabled property:
59-
`FormControl({value: '', disabled: true})` or `FormControl.enable()`, `FormControl.disable()`.
58+
This can be accomplished by creating a FormControl with the disabled property
59+
`FormControl({value: '', disabled: true})` or using `FormControl.enable()`, `FormControl.disable()`.
6060

6161
<!-- example(select-disabled) -->
6262

0 commit comments

Comments
 (0)