Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
gizm0bill opened this issue Nov 23, 2018 · 2 comments
Closed

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

gizm0bill opened this issue Nov 23, 2018 · 2 comments

Comments

@gizm0bill
Copy link

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?!

@crisbeto
Copy link
Member

Duplicate of #12369.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants