angular / angular/angular

Proposal: A directive should not receive events that it fired

Open
#4,593 4 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.