Skip to content

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

@gizm0bill

Description

@gizm0bill

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-uzu4zf

What is the use-case or motivation for changing an existing behavior?
Sometimes there are other places in the app that toggle a checkbox, and it's common sense

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

Is there anything else we should know?
You have a PR approved since August here #11902 why the heck don't you merge it?!

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