diff --git a/apps/client/src/widgets/react/NoteAutocomplete.tsx b/apps/client/src/widgets/react/NoteAutocomplete.tsx index 297bde4d3..c61285603 100644 --- a/apps/client/src/widgets/react/NoteAutocomplete.tsx +++ b/apps/client/src/widgets/react/NoteAutocomplete.tsx @@ -95,7 +95,7 @@ export default function NoteAutocomplete({ id, inputRef: externalInputRef, text, $autoComplete.autocomplete("val", "").trigger("change"); ref.current.value = ""; } - }); // no inputs is intentional to enforce the text of the autocomplete, which is modified externally by the autocomplete. + }, [text, noteId]); return (