Skip to content

mat-checkbox ignores checked property #8691

@GMillerVarian

Description

@GMillerVarian

Bug, feature request, or proposal:

Bug

What is the expected behavior?

When supplying the checked property, the checkbox state in the UI should match.

What is the current behavior?

The checked property is ignored. There is no difference in behavior whether or not checked is specified.

What are the steps to reproduce?

http://plnkr.co/UWQeFu

When you uncheck, the bound value is updated to the false value, however the UI shows checked state until checkbox is clicked a second time.

What is the use-case or motivation for changing an existing behavior?

Updating a component library (which previously used ng-true-value and ng-false-value) and trying to maintain existing functionality.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions