From 70a0b5c22f61e040e7a257831ef5fae6fc082f27 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 24 Nov 2025 18:58:52 +0200 Subject: [PATCH] fix(promoted_attributes): "attribute is not owned" in auto-complete after switching notes --- apps/client/src/widgets/PromotedAttributes.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/client/src/widgets/PromotedAttributes.tsx b/apps/client/src/widgets/PromotedAttributes.tsx index 56807bd14..42a4f4ace 100644 --- a/apps/client/src/widgets/PromotedAttributes.tsx +++ b/apps/client/src/widgets/PromotedAttributes.tsx @@ -415,6 +415,7 @@ function setupTextLabelAutocomplete(el: HTMLInputElement, valueAttr: Attribute, ] ); + $input.off("autocomplete:selected"); $input.on("autocomplete:selected", onChangeListener); }); }