Skip to content

mat-selection-list defaults to accent color and cannot be set to primary #15234

@Admiralfeb

Description

@Admiralfeb

What is the expected behavior?

I should be able to control the color of the checkboxes of the mat-selection-list

What is the current behavior?

The color is set to accent only and does not permit me to change it via a color property. The documentation does not state that the color is set to accent

What are the steps to reproduce?

Provided stackblitz shows the issue.
https://stackblitz.com/edit/angular-material2-issue-fvzopz

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular CLI: 7.3.2
Node: 11.9.0
OS: win32 x64
Angular: 7.2.5
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package Version

@angular-devkit/architect 0.13.2
@angular-devkit/build-angular 0.13.0
@angular-devkit/build-optimizer 0.13.0
@angular-devkit/build-webpack 0.13.0
@angular-devkit/core 7.3.2
@angular-devkit/schematics 7.3.2
@angular/cdk 7.3.2
@angular/cli 7.3.2
@angular/material 7.3.2
@ngtools/webpack 7.3.0
@schematics/angular 7.3.2
@schematics/update 0.13.2
rxjs 6.4.0
typescript 3.2.4
webpack 4.29.0

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

featureThis issue represents a new feature or feature request rather than a bug or bug fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions