-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
MdCheckbox fires a click event twice #651
Comments
On |
Sendi, I get two events for (click) when clicking on a checkbox and it is not disabled. I am now using (change) event, which only fires one event. I have something working now. By the way, great stuff with Angular2-material. Cheers! ChrisChristopher McGregor
|
Should the checkbox keep the shadow? |
Apparently, when registering |
@robertmesserle FYI I also worked on it last evening and ended up with an ugly solution. You can still take the unit tests from it (src/components/checkbox/checkbox.spec.ts) : https://github.com/angular/material2/compare/master...Neozaru:bugfixes/checkbox-click-event-once?expand=1 |
Closed the wrong thing. |
Fixed in #672 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I noticed that the (click) event is being called twice for MdCheckbox.
The text was updated successfully, but these errors were encountered: