Skip to content

MatSelectionList initial value not working with OnPush #10090

@Manduro

Description

@Manduro

Bug, feature request, or proposal:

Bug

What is the expected behavior?

When using a MatSelectionList with a FormControl, the initial value of the FormControl should be represented in the page.

What is the current behavior?

The initial value is not represented on the page. Options that should be selected are not.

What are the steps to reproduce?

https://stackblitz.com/edit/angular-elknpg?file=app/list-selection-example.ts
(toggle the line with ChangeDetectionStrategy)

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

Any

Is there anything else we should know?

Great quality library, keep it up!!

Metadata

Metadata

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions