From 30c4178269381830af6c6b189222619f4ab6b570 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Mon, 14 Oct 2024 21:46:48 -0700 Subject: [PATCH] Disable autocomplete/correct/etc in plain input --- src-web/components/core/PlainInput.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src-web/components/core/PlainInput.tsx b/src-web/components/core/PlainInput.tsx index a91a3eca..991e1b4a 100644 --- a/src-web/components/core/PlainInput.tsx +++ b/src-web/components/core/PlainInput.tsx @@ -128,6 +128,9 @@ export const PlainInput = forwardRef(function type={type === 'password' && !obscured ? 'text' : type} defaultValue={defaultValue} placeholder={placeholder} + autoComplete="off" + autoCapitalize="off" + autoCorrect="off" onChange={(e) => handleChange(e.target.value)} onPaste={(e) => onPaste?.(e.clipboardData.getData('Text'))} className={inputClassName}