mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-14 23:26:15 -05:00
Turn off auto complete for form fields
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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({
|
||||
|
||||
4
changelog/2026-09-14-input-autocomplete-off.md
Normal file
4
changelog/2026-09-14-input-autocomplete-off.md
Normal 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
|
||||
Reference in New Issue
Block a user