From 3c6a482d9d94b208947fbb569bc1a8d17bd2fb74 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Mon, 14 Sep 2026 17:35:39 +0300 Subject: [PATCH] Turn off auto complete for form fields --- app/components/elements/Select.tsx | 1 + app/form/fields/InputFormField.tsx | 1 + app/form/fields/TextareaFormField.tsx | 1 + changelog/2026-09-14-input-autocomplete-off.md | 4 ++++ 4 files changed, 7 insertions(+) create mode 100644 changelog/2026-09-14-input-autocomplete-off.md diff --git a/app/components/elements/Select.tsx b/app/components/elements/Select.tsx index 3c0d183ad..ef429dad3 100644 --- a/app/components/elements/Select.tsx +++ b/app/components/elements/Select.tsx @@ -670,6 +670,7 @@ function SearchField({ value={value} onChange={(event) => onChange(event.target.value)} placeholder={placeholder} + autoComplete="off" role="combobox" aria-label="Search" aria-controls={listboxId} diff --git a/app/form/fields/InputFormField.tsx b/app/form/fields/InputFormField.tsx index 47a82d4cf..9804d4922 100644 --- a/app/form/fields/InputFormField.tsx +++ b/app/form/fields/InputFormField.tsx @@ -62,6 +62,7 @@ export function InputFormField({ onBlur={() => onBlur?.()} maxLength={maxLength} disabled={disabled} + autoComplete="off" // biome-ignore lint/a11y/noAutofocus: opt-in per call site, used for inline edit forms autoFocus={autoFocus} placeholder={translatedPlaceholder} diff --git a/app/form/fields/TextareaFormField.tsx b/app/form/fields/TextareaFormField.tsx index b5497af45..31be7581c 100644 --- a/app/form/fields/TextareaFormField.tsx +++ b/app/form/fields/TextareaFormField.tsx @@ -44,6 +44,7 @@ export function TextareaFormField({ onChange={(e) => onChange(e.target.value)} onBlur={() => onBlur?.()} disabled={disabled} + autoComplete="off" // biome-ignore lint/a11y/noAutofocus: opt-in per call site, used for inline edit forms autoFocus={autoFocus} {...ariaAttributes({ diff --git a/changelog/2026-09-14-input-autocomplete-off.md b/changelog/2026-09-14-input-autocomplete-off.md new file mode 100644 index 000000000..3b2ba5ee3 --- /dev/null +++ b/changelog/2026-09-14-input-autocomplete-off.md @@ -0,0 +1,4 @@ +--- +type: bug +--- +Browser suggestions of your previously typed text no longer pop up over input fields, such as the SendouQ match chat