fix(note_autocomplete): regression in board entry

This commit is contained in:
Elian Doran 2025-11-25 15:46:41 +02:00
parent 219753039d
commit fa5eb16054
No known key found for this signature in database

View File

@ -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]);