diff --git a/zapisy/apps/enrollment/timetable/assets/components/filters/MultiSelectFilter.vue b/zapisy/apps/enrollment/timetable/assets/components/filters/MultiSelectFilter.vue index cf84939a8e..af338d146b 100644 --- a/zapisy/apps/enrollment/timetable/assets/components/filters/MultiSelectFilter.vue +++ b/zapisy/apps/enrollment/timetable/assets/components/filters/MultiSelectFilter.vue @@ -53,6 +53,7 @@ type Methods = { clearFilter: () => void; clearAll: () => void; updateDropdownWidth: () => void; + onSearchChange: () => void; }; export default defineComponent({ @@ -133,6 +134,9 @@ export default defineComponent({ } }); }, + onSearchChange() { + this.$emit("search-change", ...arguments); + }, }, computed: { selectionDescription(): string { @@ -181,6 +185,7 @@ export default defineComponent({ :track-by="trackBy" :label="propAsLabel" :placeholder="selectionDescription" + @search-change="onSearchChange" >