ta.label);
                    }
                });
                setTimeout(() => resolve(arr), 6000);
                //resolve(ret);
            });
        };

        function checkTag(input) {
            return new Promise(function (resolve, reject) {
                console.log("Remote function for checkTag")
                let ret = true;
                if (input === "" || input.toLowerCase().includes("ä") || input.toLowerCase().includes("ö") || input.toLowerCase().includes("ü")) {
        