mirror of
https://github.com/zadam/trilium.git
synced 2025-11-26 02:24:23 +01:00
fix(react/promoted_attributes): removing relation sometimes not refreshing
This commit is contained in:
parent
c9b1691998
commit
320f064775
@ -95,7 +95,7 @@ export default function NoteAutocomplete({ id, inputRef: externalInputRef, text,
|
|||||||
$autoComplete.autocomplete("val", "").trigger("change");
|
$autoComplete.autocomplete("val", "").trigger("change");
|
||||||
ref.current.value = "";
|
ref.current.value = "";
|
||||||
}
|
}
|
||||||
}, [text, noteId]);
|
}); // no inputs is intentional to enforce the text of the autocomplete, which is modified externally by the autocomplete.
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="input-group" style={containerStyle}>
|
<div className="input-group" style={containerStyle}>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user