integrates PR # 1260: filteredItems is not exported anymore

This commit is contained in:
davideraccagni 2022-04-21 00:00:04 +02:00
commit 5ca0b83137
4 changed files with 6 additions and 22 deletions

View file

@ -8,13 +8,11 @@
*/
/**
* Set the dropdown items
* Set the full list of items
* @type {AutoCompleteItem[]}
*/
export let items = [];
export let filteredItems = [];
/**
* Override the display of a dropdown item
* @type {(item: AutoCompleteItem) => string}
@ -112,6 +110,8 @@
const dispatch = createEventDispatcher();
let filteredItems = [];
let highlightedIndex = -1;
let innerValue = undefined;