he functionality of the `delayInput` option)");
                let toRet = structuredClone(remoteSearchData);
                let ret = toRet.items.filter(data => {
                    if (selectedOptgroup) {
                        return data.label === selectedOptgroup && data.text.toLowerCase().indexOf(filter.toLowerCase()) > -1;
                    } else {
                        return data.text.toLowerCase().indexOf(filter.toLowerCase()) > -1;
                    }
                });
              