From 0361ae7c046984c71a3be23e4078de0b324505e7 Mon Sep 17 00:00:00 2001 From: JaiPandey425 Date: Tue, 29 Jul 2025 13:33:03 +0530 Subject: [PATCH] contact-add-placeholders --- src/components/setting/ContactForm.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/setting/ContactForm.tsx b/src/components/setting/ContactForm.tsx index ba9b964..920b650 100644 --- a/src/components/setting/ContactForm.tsx +++ b/src/components/setting/ContactForm.tsx @@ -159,6 +159,7 @@ const ContactForm = ({ onSubmit, loading }: Props) => { onChange={(e) => handleChange(field as keyof ContactData, e.target.value)} required={true} className="px-3 py-1.5 border border-gray-400 rounded-md focus:outline-none focus:ring-1 focus:ring-[var(--primary)] text-sm" + placeholder={`Enter ${label}`} /> {errors[field] && {errors[field]}} @@ -177,6 +178,7 @@ const ContactForm = ({ onSubmit, loading }: Props) => { onChange={(e) => handlePhoneChange(index, e.target.value)} className="flex-1 px-3 py-1.5 border border-gray-400 rounded-md focus:outline-none focus:ring-1 focus:ring-[var(--primary)] text-sm" maxLength={15} + placeholder='Enter Phone Numbers' /> {formData.phones.length > 1 && (