Skip to content

Commit 1453812

Browse files
authored
Fix for filters options not showing in tablet view (#1390)
1 parent 2098baa commit 1453812

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/web-mzima-client/src/app/shared/components/search-form/search-form.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,20 +256,20 @@ <h3>{{ 'app.filters_and_sorting' | translate }}</h3>
256256
<ng-container *ngIf="!isDesktop">
257257
<app-filter-control
258258
class="search-form__filters-panel__item"
259-
formControlName="form[]"
259+
formControlName="form"
260260
[options]="surveyList"
261261
[fields]="['id', 'name']"
262-
(clear)="clearFilter('form[]')"
262+
(clear)="clearFilter('form')"
263263
[type]="filterType.Multiselect"
264264
[title]="'app.surveys' | translate"
265-
[badge]="form.controls['form[]'].value?.length || null"
265+
[badge]="form.controls['form'].value?.length || null"
266266
>
267267
<div class="clear-button" suffix>
268268
<mzima-client-button
269269
fill="clear"
270270
size="small"
271271
class="filter-group__head__button"
272-
(buttonClick)="toggleSidebarFilters('form[]')"
272+
(buttonClick)="toggleSidebarFilters('form')"
273273
>
274274
{{ (showAllButton('form') ? 'nav.select_all' : 'nav.clear') | translate }}
275275
</mzima-client-button>

0 commit comments

Comments
 (0)