components icon indicating copy to clipboard operation
components copied to clipboard

MatCheckbox not rendering check for undefined color when using default options

Open Eddygn opened this issue 6 years ago • 2 comments

Reproduction

https://stackblitz.com/edit/angular-yyan4s?file=src%2Fapp%2Fcheckbox-overview-example.html

Steps to reproduce:

  1. Adding the default behavior provider { provide: MAT_CHECKBOX_DEFAULT_OPTIONS, useValue: { clickAction: "noop" } as MatCheckboxDefaultOptions }
  2. Setting any checkbox via input, for example: <mat-checkbox [checked]="true">Checked</mat-checkbox>

Expected Behavior

image

Actual Behavior

What behavior did you actually see?

image

Environment

  • Angular: 11
  • CDK/Material: 11
  • Browser(s): Firefox 82
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows 10

Eddygn avatar Nov 12 '20 20:11 Eddygn

@crisbeto this was supposed to be fixed in #18467 but the stackblitz above still seems to have the problem behavior

jelbourn avatar Nov 12 '20 21:11 jelbourn

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.