From b9d6d91a91fa35f4f0d363d12319af2b2581a416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sascha=20I=C3=9Fbr=C3=BCcker?= Date: Fri, 3 Oct 2025 10:12:50 +0200 Subject: [PATCH] Fix bundle preview pagination resetting to first page (#1194) --- bookmarks/frontend/components/TagAutocomplete.js | 2 +- bookmarks/templates/bundles/form.html | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bookmarks/frontend/components/TagAutocomplete.js b/bookmarks/frontend/components/TagAutocomplete.js index 426b628..8d67993 100644 --- a/bookmarks/frontend/components/TagAutocomplete.js +++ b/bookmarks/frontend/components/TagAutocomplete.js @@ -108,7 +108,7 @@ export class TagAutocomplete extends LitElement { suggestion.name + " " + value.substring(bounds.end); - this.input.dispatchEvent(new CustomEvent("change", { bubbles: true })); + this.dispatchEvent(new CustomEvent("input", { bubbles: true })); this.close(); } diff --git a/bookmarks/templates/bundles/form.html b/bookmarks/templates/bundles/form.html index bb119cd..014a1ee 100644 --- a/bookmarks/templates/bundles/form.html +++ b/bookmarks/templates/bundles/form.html @@ -86,6 +86,5 @@ } bundleForm.addEventListener('input', scheduleUpdate); - bundleForm.addEventListener('change', scheduleUpdate); })();