const filter = () => {
// Filters options in the select tag.
let optionEl = options[i];
let txt = selectTag.options[i].text.toLowerCase();
if (txt.indexOf(inputEl) > -1) {
selectTag.options[i].style.display = "";
} else {
selectTag.options[i].style.display = "none";
}
};
This is the code for filtering that happens oneditprepare
. Is there any way i could filter it in real time? Like not needing to reopen the node to see results of filter?