i'm using autocomplete.js and everything works fine but i'd like to change a functionality and prevent the list of items from closing once i select one item here is the library -> https://tarekraafat.github.io/autoComplete.js/#/ i tried a few things but no luck so far
events: {
input: {
selection: (event) => {
const selection = (event.detail.selection.value.search).trim();
autoCompleteJS.input.value = '';
autoCompleteJS.open(); **<- added this to reopen**
productos.push(event.detail.selection.value);
domCleaner();
domBuilder(productos);
}
}
}
btw, what i'm trying to do is to select multiple options without having to type again the search.
if anyone has any idea on how to accomplish this, please share. Thanks