-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
The disabled attribute/input should have the same behavior on all input elements.
What is the current behavior?
<!-- This does not disable the checkbox -->
<mat-checkbox disabled>Check me! disabled</mat-checkbox>
<!-- This does disable the checkbox incorrectly -->
<mat-checkbox disabled="false">Foo</mat-checkbox>
<!-- This does disable the button -->
<button mat-button disabled>Bar</button>
<!-- This does not disable the button -->
<button mat-raised-button disabled="false">Click me! disabled="false"</button>
What are the steps to reproduce?
https://stackblitz.com/edit/angular-material-checkboxes-hkdft7
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
6.1.10/6.4.7
Is there anything else we should know?
<mat-checkbox disabled>Foo</mat-checkbox> used to work, not exactly sure when it broke.
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent