Fix bundle preview pagination resetting to first page (#1194)

This commit is contained in:
Sascha Ißbrücker
2025-10-03 10:12:50 +02:00
committed by GitHub
parent a7a4dd5fff
commit b9d6d91a91
2 changed files with 1 additions and 2 deletions

View File

@@ -108,7 +108,7 @@ export class TagAutocomplete extends LitElement {
suggestion.name + suggestion.name +
" " + " " +
value.substring(bounds.end); value.substring(bounds.end);
this.input.dispatchEvent(new CustomEvent("change", { bubbles: true })); this.dispatchEvent(new CustomEvent("input", { bubbles: true }));
this.close(); this.close();
} }

View File

@@ -86,6 +86,5 @@
} }
bundleForm.addEventListener('input', scheduleUpdate); bundleForm.addEventListener('input', scheduleUpdate);
bundleForm.addEventListener('change', scheduleUpdate);
})(); })();
</script> </script>