mirror of
https://github.com/zadam/trilium.git
synced 2025-12-21 15:49:56 +01:00
fix(note_autocomplete): regression in board entry
This commit is contained in:
@@ -92,7 +92,7 @@ export default function NoteAutocomplete({ id, inputRef: externalInputRef, text,
|
||||
note_autocomplete.setText($autoComplete, text);
|
||||
} else {
|
||||
$autoComplete.setSelectedNotePath("");
|
||||
$autoComplete.autocomplete("val", "").trigger("change");
|
||||
$autoComplete.autocomplete("val", "");
|
||||
ref.current.value = "";
|
||||
}
|
||||
}, [text, noteId]);
|
||||
|
||||
Reference in New Issue
Block a user