fix(promoted_attributes): "attribute is not owned" in auto-complete after switching notes

This commit is contained in:
Elian Doran 2025-11-24 18:58:52 +02:00
parent a2976d9ad5
commit 70a0b5c22f
No known key found for this signature in database

View File

@ -415,6 +415,7 @@ function setupTextLabelAutocomplete(el: HTMLInputElement, valueAttr: Attribute,
] ]
); );
$input.off("autocomplete:selected");
$input.on("autocomplete:selected", onChangeListener); $input.on("autocomplete:selected", onChangeListener);
}); });
} }