[BUG] - Events are not tracked using Angular Material - Autocomplete & mat-option
Maintainers usually reply within 5 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- angular, javascript
- Domain
- frontend
Research direction
Start with the Angular Material mat-autocomplete and mat-option reproduction shown in the issue, then inspect how event tracking handles option selection compared with buttons. Confirm the fix by reproducing the example and verifying that selecting an option records an event named "option".
Written by the indexing model from the issue text.
Description
Description/Screenshot
I've got a couple of mat-option from Angular Material in a mat-autocomplete and would like to track when an event is selected. Unfortunately, this does not happen.
It works fine on other elements, like buttons.
Steps to Reproduce
<mat-autocomplete #auto="matAutocomplete">
<mat-option *ngFor="let option of options" [value]="option" data-test-id="option">
{{option}}
</mat-option>
</mat-autocomplete>
Expected behavior
An event with name "option" is being tracked.
- Dominant language
- JavaScript
- Stars
- 36
- Forks
- 20
- Avg merge
- 5d 13h
- Merged PRs (30d)
- 9
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/applicationinsights-angularplugin-js
-
documentation
Difficulty 3/5 1-2 days Newbie friendliness 25/100
microsoft/applicationinsights-angularplugin-js#102 · 4 comments ·
Maintainers usually reply within 5 days
-
documentation
Difficulty 3/5 1-2 days Newbie friendliness 35/100
microsoft/applicationinsights-angularplugin-js#27 · 9 comments ·
Maintainers usually reply within 5 days
All issues in microsoft/applicationinsights-angularplugin-js
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
saadeghi/daisyui#4780 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
accessibility bug embed websites
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
quarto-dev/quarto-cli#14972 ·
Maintainers usually reply within 1 day
-
has-readme needs-attention new-tool repo-verified
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
shanselman/TinyToolTown#834 · 2 comments ·
Maintainers usually reply within 6 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
siderolabs/talos-design-system#16 ·
Maintainers usually reply within 1 day