mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
attribute dialog doesn't allow to (attempt to) save relation without target note
This commit is contained in:
@@ -92,7 +92,7 @@ function initNoteAutocomplete($el, options) {
|
||||
$el.on('autocomplete:selected', (event, suggestion) => $el.setSelectedPath(suggestion.path));
|
||||
$el.on('autocomplete:closed', () => {
|
||||
if (!$el.val().trim()) {
|
||||
$el.setSelectedPath("");
|
||||
clearText($el);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user