From 2bd91b89155c31e9055a904bf6a575d2742c73b1 Mon Sep 17 00:00:00 2001 From: mortezaei Date: Tue, 18 Aug 2026 12:39:14 +0330 Subject: [PATCH] chore: disable browser autocomplete, spellcheck, and password manager interference on input fields --- src/components/Componentes/question-phone.tsx | 3 +++ src/components/Componentes/question-text.tsx | 13 +++++++++++++ 2 files changed, 16 insertions(+) diff --git a/src/components/Componentes/question-phone.tsx b/src/components/Componentes/question-phone.tsx index 7d41d4c..fe22f63 100644 --- a/src/components/Componentes/question-phone.tsx +++ b/src/components/Componentes/question-phone.tsx @@ -611,6 +611,9 @@ export function QuestionPhone({ handleChange(e.target.value)} onBlur={handleBlur} @@ -140,6 +147,12 @@ export default function QuestionText({ type={isNumericQuestion ? "tel" : "text"} inputMode={isNumericQuestion ? "numeric" : undefined} pattern={isNumericQuestion ? "[0-9]*" : undefined} + autoComplete="off" + autoCorrect="off" + autoCapitalize="none" + spellCheck="false" + data-lpignore="true" + data-form-type="other" value={localValue} onChange={(e) => handleChange(e.target.value)} onBlur={handleBlur}