Skip to content

The toggle method on mat-checkbox does not emit to valueChanges #12369

@adamdport

Description

@adamdport

Bug, feature request, or proposal:

Bug

What is the expected behavior?

valueChanges should emit whenever the checkbox's value changes

What is the current behavior?

If the checkbox changes value via the toggle() method, valueChanges does not emit

What are the steps to reproduce?

https://stackblitz.com/edit/angular-35rjy5

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

Sometimes there are other places in the app that toggle a checkbox

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

material 6.4.1

Is there anything else we should know?

Metadata

Metadata

Assignees

No one assigned

    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