Skip to content

[md-checkbox] checked and indeterminate state problem. #2004

@joejordanbrown

Description

@joejordanbrown

Bug

I believe this is a bug.

What is the expected behavior?

If both checked and indeterminate are true and then checked is set to false it should show indeterminate.

What is the current behavior?

If both checked and indeterminate are true and then checked is set to false it should show indeterminate but instead, it shows unchecked.

What are the steps to reproduce?

If you use the toggles you will see the state of the checkbox not being correct against the set values.
https://embed.plnkr.co/v7euQHvzVsAFHNcpsEFo

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

Latest

Metadata

Metadata

Assignees

Labels

P2The issue is important to a large percentage of users, with a workaround

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions