-
Notifications
You must be signed in to change notification settings - Fork 26.7k
Open
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: coreIssues related to the framework runtimeIssues related to the framework runtimecore: event listenerscore: inputs / outputsstate: confirmedtype: bug/fix
Milestone
Description
@Component({
selector: 'my-component'
events: ['change']
})
@View({
template: '<input (change)="...">'
})
class MyComponent {
}
The above code creates an issue. It conflates the change event from the MyComponent with the bubbling change event from the <input>.
The correct behavior is that the change event which is part of the components should filter out the DOM change events. Otherwise
<my-component (change)="doSomething($event)">
will sometimes get the $event from the MyComponent and sometimes from the input event.
kemsky, olsn, eldadcohen1, itsdevdom, andregs and 23 more
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: coreIssues related to the framework runtimeIssues related to the framework runtimecore: event listenerscore: inputs / outputsstate: confirmedtype: bug/fix