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); })();