Skip to content

Commit 5985a54

Browse files
committed
fix(material-experimental/mdc-checkbox): add missing classes for checked
and disabled on host
1 parent 02d6e7d commit 5985a54

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ const _MatCheckboxBase = mixinColor(
7777
host: {
7878
'class': 'mat-mdc-checkbox',
7979
'[attr.tabindex]': 'null',
80+
'[class.mat-mdc-checkbox-disabled]': 'disabled',
81+
'[class.mat-mdc-checkbox-checked]': 'checked',
8082
'[class._mat-animation-noopable]': `_animationMode === 'NoopAnimations'`,
8183
'[class.mdc-checkbox--disabled]': 'disabled',
8284
'[id]': 'id',

0 commit comments

Comments
 (0)