diff --git a/app/components/Input.tsx b/app/components/Input.tsx index 96e026dc4..9f4ee47f2 100644 --- a/app/components/Input.tsx +++ b/app/components/Input.tsx @@ -20,6 +20,7 @@ export function Input({ value, placeholder, onChange, + disableAutoComplete = false, }: { name?: string; id?: string; @@ -40,6 +41,7 @@ export function Input({ value?: string; placeholder?: string; onChange?: (e: React.ChangeEvent) => void; + disableAutoComplete?: boolean; }) { return (
@@ -61,6 +63,7 @@ export function Input({ required={required} placeholder={placeholder} type={type} + autoComplete={disableAutoComplete ? "one-time-code" : undefined} /> {icon}
diff --git a/app/features/tournament/routes/to.$id.admin.tsx b/app/features/tournament/routes/to.$id.admin.tsx index bbc80f2af..9c68fff96 100644 --- a/app/features/tournament/routes/to.$id.admin.tsx +++ b/app/features/tournament/routes/to.$id.admin.tsx @@ -834,6 +834,7 @@ function BracketReset() { value={confirmText} onChange={(e) => setConfirmText(e.target.value)} id="bracket-confirmation" + disableAutoComplete />