Skip to content

[BUG] - Events are not tracked using Angular Material - Autocomplete & mat-option #72

@roldengarm

Description

@roldengarm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions