mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 02:28:57 +01:00
feat(react/collections/board): disable autofill when entering note title
This commit is contained in:
parent
220858926f
commit
3ce6b43018
@ -246,6 +246,7 @@ export function TitleEditor({ currentValue, placeholder, save, dismiss, multilin
|
||||
inputRef={inputRef}
|
||||
currentValue={currentValue ?? ""}
|
||||
placeholder={placeholder}
|
||||
autoComplete="trilium-title-entry" // forces the auto-fill off better than the "off" value.
|
||||
rows={multiline ? 4 : undefined}
|
||||
onKeyDown={(e: JSX.TargetedKeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => {
|
||||
if (e.key === "Enter") {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user