diff --git a/src/lib/picker/picker.component.ts b/src/lib/picker/picker.component.ts index 6f3659ad..ea7a4b54 100644 --- a/src/lib/picker/picker.component.ts +++ b/src/lib/picker/picker.component.ts @@ -256,7 +256,9 @@ export class PickerComponent implements OnInit { } setActiveCategories(categoriesToMakeActive: Array) { if (this.showSingleCategory) { - this.activeCategories = categoriesToMakeActive.filter(x => x.name === this.selected); + this.activeCategories = categoriesToMakeActive.filter( + x => (x.name === this.selected || x === this.SEARCH_CATEGORY) + ); } else { this.activeCategories = categoriesToMakeActive; }