Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(react/dialogs): missing autocomplete opts
Elian Dorance324586f8bd
diff --git a/apps/client/src/widgets/dialogs/include_note.tsx b/apps/client/src/widgets/dialogs/include_note.tsxindex 68b8c0544a..6f2323f2ef 100644--- a/apps/client/src/widgets/dialogs/include_note.tsx+++ b/apps/client/src/widgets/dialogs/include_note.tsx@@ -36,15 +36,17 @@ function IncludeNoteDialogComponent({ textTypeWidget }: IncludeNoteDialogProps)closeActiveDialog();includeNote(suggestion.notePath, textTypeWidget);}}- footer={- <Button text={t("include_note.button_include")} keyboardShortcut="Enter" />- }+ footer={<Button text={t("include_note.button_include")} keyboardShortcut="Enter" />}><FormGroup label={t("include_note.label_note")}><NoteAutocompleteplaceholder={t("include_note.placeholder_search")}onChange={setSuggestion}inputRef={autoCompleteRef}+ opts={{+ hideGoToSelectedNoteButton: true,+ allowCreatingNotes: true+ }}/></FormGroup>