Fixed #6641
parent
1b2360e700
commit
281f3227a9
|
@ -109,6 +109,10 @@ export interface ListboxFilterEvent {
|
||||||
* Filter value
|
* Filter value
|
||||||
*/
|
*/
|
||||||
value: string;
|
value: string;
|
||||||
|
/**
|
||||||
|
* Filtered options
|
||||||
|
*/
|
||||||
|
filterValue: any[];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue