Turn off auto complete for form fields

This commit is contained in:
Kalle
2026-09-14 17:35:39 +03:00
parent 3b78e82830
commit 3c6a482d9d
4 changed files with 7 additions and 0 deletions

View File

@@ -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}

View File

@@ -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}

View File

@@ -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({

View File

@@ -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