pull/6768/head
tugcekucukoglu 2024-11-12 10:56:14 +03:00
parent 1b2360e700
commit 281f3227a9
2 changed files with 5 additions and 1 deletions

View File

@ -109,6 +109,10 @@ export interface ListboxFilterEvent {
* Filter value * Filter value
*/ */
value: string; value: string;
/**
* Filtered options
*/
filterValue: any[];
} }
/** /**

View File

@ -411,7 +411,7 @@ export default {
} }
}, },
onFilterChange(event) { onFilterChange(event) {
this.$emit('filter', { originalEvent: event, value: event.target.value }); this.$emit('filter', { originalEvent: event, value: event.target.value, filterValue: this.visibleOptions });
this.focusedOptionIndex = this.startRangeIndex = -1; this.focusedOptionIndex = this.startRangeIndex = -1;
}, },
onFilterBlur() { onFilterBlur() {