Skip to content

Commit 7c2c14d

Browse files
committed
docs(material/select): Disabling the select or individual options
PR Feedback (add comma, add backticks) Fixes #24762
1 parent eaf773d commit 7c2c14d

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
@@ -54,8 +54,8 @@ In some cases that `<mat-form-field>` may use the placeholder as the label (see
5454

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.
57-
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
57+
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
5959
`FormControl({value: '', disabled: true})` or using `FormControl.enable()`, `FormControl.disable()`.
6060

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

0 commit comments

Comments
 (0)