components
components copied to clipboard
MatCheckbox not rendering check for undefined color when using default options
Reproduction
https://stackblitz.com/edit/angular-yyan4s?file=src%2Fapp%2Fcheckbox-overview-example.html
Steps to reproduce:
- Adding the default behavior provider
{ provide: MAT_CHECKBOX_DEFAULT_OPTIONS, useValue: { clickAction: "noop" } as MatCheckboxDefaultOptions } - Setting any checkbox via input, for example:
<mat-checkbox [checked]="true">Checked</mat-checkbox>
Expected Behavior

Actual Behavior
What behavior did you actually see?

Environment
- Angular: 11
- CDK/Material: 11
- Browser(s): Firefox 82
- Operating System (e.g. Windows, macOS, Ubuntu): Windows 10
@crisbeto this was supposed to be fixed in #18467 but the stackblitz above still seems to have the problem behavior
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.