-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
checkbox: change event emits [Event] instead of boolean #544
Labels
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Milestone
Comments
@devversion we actually want the checkbox to fire something like an |
devversion
added a commit
to devversion/material2
that referenced
this issue
May 27, 2016
* Currently the change event of the visual hidden inputs will bubble up and emit its event object to the component's `change` output. This is currently an issue of Angular 2 - See angular/angular#4059 To prevent the events from bubbling up, we have to stop propagation on change. Fixes angular#544.
devversion
added a commit
to devversion/material2
that referenced
this issue
May 27, 2016
* Currently the change event of the visual hidden inputs will bubble up and emit its event object to the component's `change` output. This is currently an issue of Angular 2 - See angular/angular#4059 To prevent the events from bubbling up, we have to stop propagation on change. Fixes angular#544.
devversion
added a commit
to devversion/material2
that referenced
this issue
May 27, 2016
* Currently the change event of the visual hidden inputs will bubble up and emit its event object to the component's `change` output. This is currently an issue of Angular 2 - See angular/angular#4059 To prevent the events from bubbling up, we have to stop propagation on change. Fixes angular#544.
jelbourn
pushed a commit
that referenced
this issue
May 27, 2016
* fix(): visual hidden inputs should not bubble change event * Currently the change event of the visual hidden inputs will bubble up and emit its event object to the component's `change` output. This is currently an issue of Angular 2 - See angular/angular#4059 To prevent the events from bubbling up, we have to stop propagation on change. Fixes #544.
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Sometimes, when triggering the change event on the
input
, by clicking on it, the change output will emit the actual event object, instead of the correct boolean.Already working on a PR, which includes some tests and fixes it.
Sample test (without fix)
![image](https://cloud.githubusercontent.com/assets/4987015/15611338/359aa194-242a-11e6-8e8d-24769177369a.png)
After searching in the Angular Repository I found the right issue
The text was updated successfully, but these errors were encountered: