fix: disable spellcheck and autocorrect on form inputs
This commit is contained in:
@@ -122,6 +122,9 @@ export default function PricingSection() {
|
||||
placeholder="Ваше имя"
|
||||
required
|
||||
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"
|
||||
/>
|
||||
<input
|
||||
@@ -132,6 +135,9 @@ export default function PricingSection() {
|
||||
disabled={loading}
|
||||
value={phone}
|
||||
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"
|
||||
/>
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user