Skip to content

Commit fc7288f

Browse files
andrewseguinmmalerba
authored andcommitted
(material-experimental/mdc-checkbox): add disabled class when… (#17482)
1 parent 1ad9ef0 commit fc7288f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/material-experimental/mdc-checkbox/checkbox.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export class MatCheckboxChange {
6060
'[class.mat-accent]': 'color == "accent"',
6161
'[class.mat-warn]': 'color == "warn"',
6262
'[class._mat-animation-noopable]': `_animationMode === 'NoopAnimations'`,
63+
'[class.mdc-checkbox--disabled]': 'disabled',
6364
'[id]': 'id',
6465
},
6566
providers: [MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR],

0 commit comments

Comments
 (0)