Proposal: A directive should not receive events that it fired
Open
area: core
core: event listeners
core: inputs / outputs
design complexity: major
effort1: hours
freq1: low
P3
state: confirmed
type: bug/fix
- Dominant language
- TypeScript
- Stars
- 101k
- Forks
- 27.5k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 288
Description
E.g.
```
export class Checkbox {
@Output() change: EventEmitter = new EventEmitter();
@HostListener('change', [
'$event.target.value'
])
onChange(event) { ... }
}
```
Contributor guide
Research direction
No source files, tests, or entry points are named. Start by tracing the directive and event example described in the issue, then determine the intended event-propagation behavior. Done means the behavior is specified clearly and covered by appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100