mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 17:26:38 +01:00
fix broken autocomplete in attribute editor, closes #2295
This commit is contained in:
@@ -193,7 +193,8 @@ export default class AttributeEditorWidget extends NoteContextAwareWidget {
|
||||
|
||||
this.$editor.on('keydown', async e => {
|
||||
if (e.which === 13) {
|
||||
await this.save();
|
||||
// allow autocomplete to fill the result textarea
|
||||
setTimeout(() => this.save(), 100);
|
||||
}
|
||||
|
||||
this.attributeDetailWidget.hide();
|
||||
|
||||
Reference in New Issue
Block a user