Skip to content

Build your personal knowledge base with Trilium Notes

fix(note_autocomplete): regression in board entry

Elian Doranfa5eb16054af
diff --git a/apps/client/src/widgets/react/NoteAutocomplete.tsx b/apps/client/src/widgets/react/NoteAutocomplete.tsx
index c61285603d..fb96969401 100644
--- a/apps/client/src/widgets/react/NoteAutocomplete.tsx
+++ b/apps/client/src/widgets/react/NoteAutocomplete.tsx
@@ -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]);