fix(react/dialogs): missing autocomplete opts

This commit is contained in:
Elian Doran
2025-08-05 21:09:32 +03:00
parent 35bd210062
commit ce324586f8

View File

@@ -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")}>
<NoteAutocomplete
placeholder={t("include_note.placeholder_search")}
onChange={setSuggestion}
inputRef={autoCompleteRef}
opts={{
hideGoToSelectedNoteButton: true,
allowCreatingNotes: true
}}
/>
</FormGroup>