Skip to content

Commit

Permalink
[ACS-7532] - Click on chip in search gives redundant icon (#9544)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikiwanekhyland authored and ehsan-2019 committed May 3, 2024
1 parent b1b87fa commit 693d42c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<mat-chip-option [attr.data-automation-id]="'search-filter-chip-' + category.name"
<mat-chip [attr.data-automation-id]="'search-filter-chip-' + category.name"
disableRipple
class="adf-search-filter-chip"
[class.adf-search-toggle-chip]="(widget.getDisplayValue() | async) || menuTrigger.menuOpen"
Expand All @@ -18,7 +18,7 @@
</span>
<ng-template #showAny><span class="adf-search-filter-ellipsis adf-filter-value">&nbsp;{{ 'SEARCH.FILTER.ANY' | translate }}</span></ng-template>
<mat-icon class="adf-search-filter-chip-icon">{{ chipIcon }}</mat-icon>
</mat-chip-option>
</mat-chip>

<mat-menu #menu="matMenu" class="adf-search-widget-extra-width" backdropClass="adf-search-filter-chip-menu" [class]="'adf-search-filter-chip-menu-panel adf-search-filter-chip-menu-panel-' + category.id" (closed)="onClosed()">
<div #menuContainer [attr.data-automation-id]="'search-field-' + category.name">
Expand Down

0 comments on commit 693d42c

Please sign in to comment.