Skip to content

Commit

Permalink
fix(material-experimental/mdc-checkbox): add missing classes for checked
Browse files Browse the repository at this point in the history
and disabled on host
  • Loading branch information
mmalerba committed Feb 3, 2022
1 parent 02d6e7d commit 5985a54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/material-experimental/mdc-checkbox/checkbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ const _MatCheckboxBase = mixinColor(
host: {
'class': 'mat-mdc-checkbox',
'[attr.tabindex]': 'null',
'[class.mat-mdc-checkbox-disabled]': 'disabled',
'[class.mat-mdc-checkbox-checked]': 'checked',
'[class._mat-animation-noopable]': `_animationMode === 'NoopAnimations'`,
'[class.mdc-checkbox--disabled]': 'disabled',
'[id]': 'id',
Expand Down

0 comments on commit 5985a54

Please sign in to comment.