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