Revision 59117
Added by Argiro Kokogiannaki almost 4 years ago
searchFilter.component.html | ||
---|---|---|
43 | 43 |
<input *ngIf="filter.filterType == 'checkbox'" type="checkbox" class="uk-checkbox" |
44 | 44 |
[(ngModel)]="value.selected" (ngModelChange)="filterChange(value.selected)" /> |
45 | 45 |
<input *ngIf="filter.filterType == 'radio'" type="radio" class="uk-radio" |
46 |
[name]="value.id" [value]="true" [(ngModel)]="value.selected" (click)="uniqueFilterChange(value)"/> |
|
46 |
[name]="filter.filterId" [value]="value.id" [(ngModel)]="filter.radioValue" |
|
47 |
(ngModelChange)="uniqueFilterChange(value)"/> |
|
47 | 48 |
{{' '+_formatName(value)}} |
48 | 49 |
<span *ngIf = "showResultCount === true" > |
49 | 50 |
{{' ('+(value.number|number)+')'}} |
Also available in: Unified diff
[Library | Trunk]
Search Filter - radio input:
make it work for radio and make unique selection
add field radioValue
initiate it (in parse refine results) and clear it properly (from new search page)