Skip to content

Build your personal knowledge base with Trilium Notes

feat(react/collections/board): disable autofill when entering note title

Elian Doran3ce6b43018ca
diff --git a/apps/client/src/widgets/collections/board/index.tsx b/apps/client/src/widgets/collections/board/index.tsx
index 2e77069fc7..3b623f7cb3 100644
--- a/apps/client/src/widgets/collections/board/index.tsx
+++ b/apps/client/src/widgets/collections/board/index.tsx
@@ -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") {