fix: disable spellcheck and autocorrect on form inputs

This commit is contained in:
Admin
2026-05-27 20:37:54 +05:00
parent abec15f7f6
commit b3fac5d82d
@@ -122,6 +122,9 @@ export default function PricingSection() {
placeholder="Ваше имя" placeholder="Ваше имя"
required required
disabled={loading} disabled={loading}
autoComplete="off"
autoCorrect="off"
spellCheck={false}
className="px-5 py-3.5 bg-cream border border-greigeDark/50 rounded-full text-sm font-sans text-warmBrown placeholder:text-mutedBrown/50 focus:outline-none focus:border-taupe transition-colors w-64 disabled:opacity-60" className="px-5 py-3.5 bg-cream border border-greigeDark/50 rounded-full text-sm font-sans text-warmBrown placeholder:text-mutedBrown/50 focus:outline-none focus:border-taupe transition-colors w-64 disabled:opacity-60"
/> />
<input <input
@@ -132,6 +135,9 @@ export default function PricingSection() {
disabled={loading} disabled={loading}
value={phone} value={phone}
onChange={(e) => setPhone(formatPhone(e.target.value))} onChange={(e) => setPhone(formatPhone(e.target.value))}
autoComplete="off"
autoCorrect="off"
spellCheck={false}
className="px-5 py-3.5 bg-cream border border-greigeDark/50 rounded-full text-sm font-sans text-warmBrown placeholder:text-mutedBrown/50 focus:outline-none focus:border-taupe transition-colors w-64 disabled:opacity-60" className="px-5 py-3.5 bg-cream border border-greigeDark/50 rounded-full text-sm font-sans text-warmBrown placeholder:text-mutedBrown/50 focus:outline-none focus:border-taupe transition-colors w-64 disabled:opacity-60"
/> />
<button <button