-
Notifications
You must be signed in to change notification settings - Fork 6.8k
docs(material/select): Disabling the select or individual options #25065
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(material/select): Disabling the select or individual options #25065
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CI is failing, because the commit title is supposed to start with docs(material/select):
.
src/material/select/select.md
Outdated
@@ -54,6 +54,9 @@ In some cases that `<mat-form-field>` may use the placeholder as the label (see | |||
|
|||
It is possible to disable the entire select or individual options in the select by using the | |||
disabled property on the `<select>` or `<mat-select>` and the `<option>` or `<mat-option>` elements respectively. | |||
When working with Reactive Forms the select component can be disabled/enabled via form controls. | |||
This can be accomplished by creating a FormControl with the disabled property |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be backticks around "FormControl" here.
src/material/select/select.md
Outdated
@@ -54,6 +54,9 @@ In some cases that `<mat-form-field>` may use the placeholder as the label (see | |||
|
|||
It is possible to disable the entire select or individual options in the select by using the | |||
disabled property on the `<select>` or `<mat-select>` and the `<option>` or `<mat-option>` elements respectively. | |||
When working with Reactive Forms the select component can be disabled/enabled via form controls. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: there should be a comma between "Forms" and "the".
Update documentation to include ReactiveForms use case Fixes angular#24762
Update documentation to include ReactiveForms use case Fixes angular#24762
PR Feedback (add comma, add backticks) Fixes angular#24762
b8a40f9
to
7c2c14d
Compare
…ual options (#25065) * docs(material/select): Disabling the select or individual options Update documentation to include ReactiveForms use case Fixes #24762 * docs(material/select): Disabling the select or individual options Update documentation to include ReactiveForms use case Fixes #24762 * docs(material/select): Disabling the select or individual options PR Feedback (add comma, add backticks) Fixes #24762 (cherry picked from commit aadcb96)
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Update documentation to include ReactiveForms use case
Fixes #24762