mirror of
https://github.com/zadam/trilium.git
synced 2025-12-21 23:59:59 +01:00
fix(promoted_attributes): "attribute is not owned" in auto-complete after switching notes
This commit is contained in:
@@ -415,6 +415,7 @@ function setupTextLabelAutocomplete(el: HTMLInputElement, valueAttr: Attribute,
|
||||
]
|
||||
);
|
||||
|
||||
$input.off("autocomplete:selected");
|
||||
$input.on("autocomplete:selected", onChangeListener);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user