[angular-18]: Search Filter: Add parameter hideSingleSelectionIndicator=true in order to hide check in button filters

This commit is contained in:
Konstantinos Triantafyllou 2024-09-23 16:44:44 +03:00
parent 7722be46f3
commit ace2fca2e9
1 changed files with 1 additions and 9 deletions

View File

@ -12,19 +12,11 @@
<div *ngIf="filter.type && filter.type == 'triplet'">
<span>
<mat-button-toggle-group [name]="filter.title" [aria-label]="filter.title" class="uk-text-xsmall"
<mat-button-toggle-group [name]="filter.title" [aria-label]="filter.title" [hideSingleSelectionIndicator]="true"
[(ngModel)]="filter.radioValue" (ngModelChange)="tripletFilterChange()" [disabled]="isDisabled">
<mat-button-toggle *ngFor="let value of filter.values" [value]="value.id" class="filter-button-toggle">
<div style="width: 50px">{{value.name}}</div>
</mat-button-toggle>
<!-- <ng-container *ngFor="let value of filter.values">-->
<!-- <mat-button-toggle value="true">-->
<!-- {{filter.title}}-->
<!-- </mat-button-toggle>-->
<!-- <mat-button-toggle value="false">-->
<!-- Not {{filter.title}}-->
<!-- </mat-button-toggle>-->
<!-- </ng-container>-->
</mat-button-toggle-group>
</span>
</div>