diff --git a/packages/main/test/samples/ComboBox.sample.html b/packages/main/test/samples/ComboBox.sample.html index e222e0d8ddd7..89f495106de3 100644 --- a/packages/main/test/samples/ComboBox.sample.html +++ b/packages/main/test/samples/ComboBox.sample.html @@ -214,77 +214,4 @@

ComboBox with Grouping of Items

-
-

Lazy loading

- -
- - - -
- -

-<ui5-combobox placeholder="Enter value" id="lazy-cb"></ui5-combobox>
-
-<script>
-	const combo = document.getElementById("lazy-cb");
-
-	combo.addEventListener("input", function (event) {
-		while (combo.firstChild) {
-			combo.removeChild(combo.firstChild);
-		}
-
-		event.target.loading = true;
-
-		fetch("https://restcountries.eu/rest/v2/?fields=name")
-			.then(function (response) {
-				response.json()
-					.then(function (list) {
-
-						list.forEach(function (country) {
-							const element = document.createElement("ui5-cb-item");
-
-							element.setAttribute("text", country.name);
-							combo.appendChild(element);
-						});
-
-						event.target.loading = false;
-
-					});
-			})
-			.catch(function () { });
-	});
-</script>
-
- -
- \ No newline at end of file