fix(contact): add standard autocomplete, inputmode and attributes for contact inputs
Deploy Canina / deploy (push) Successful in 2m10s

This commit is contained in:
devops committed 2026-10-17 15:27:07 +00:00
1 parent f9d70bc196
commit b4fdd7abb8
2 files changed
+19 -1

No files matched your search

@@ -150,7 +150,9 @@ export default function ContactFormClient() {
</label>
<input
id="contact-name"
name="name"
type="text"
autoComplete="name"
value={name}
onChange={(e) => setName(e.target.value)}
className="w-full bg-medical-gray-50 border border-medical-gray-200 rounded-2xl p-4 text-sm font-bold focus:outline-none focus:ring-2 focus:ring-canina-blue/20"
@@ -162,7 +164,10 @@ export default function ContactFormClient() {
<label htmlFor="contact-phone" className="text-xs font-black text-medical-gray-500">شماره موبایل *</label>
<input
id="contact-phone"
type="text"
name="phone"
type="tel"
inputMode="tel"
autoComplete="tel"
value={phone}
onChange={(e) => setPhone(e.target.value)}
className="w-full bg-medical-gray-50 border border-medical-gray-200 rounded-2xl p-4 text-sm font-bold text-left focus:outline-none focus:ring-2 focus:ring-canina-blue/20"