From 759468ed84d42a69dcf610e4c8222bc39798b85a Mon Sep 17 00:00:00 2001
From: =bhagwanSingh <=bhagwan.r@hicglobalsolutions.com>
Date: Wed, 15 Oct 2025 17:46:59 +0530
Subject: [PATCH] 15-oct
---
src/components/auth/RegisterForm.tsx | 3 +++
src/components/process/processStepOne/RecipientAddCard.tsx | 3 +++
2 files changed, 6 insertions(+)
diff --git a/src/components/auth/RegisterForm.tsx b/src/components/auth/RegisterForm.tsx
index 879cc3b..0c2f3f8 100644
--- a/src/components/auth/RegisterForm.tsx
+++ b/src/components/auth/RegisterForm.tsx
@@ -176,6 +176,7 @@ const RegisterForm = ({ onSwitchToLogin }) => {
handleInputChange("firstName", e.target.value)}
placeholder="First name"
className={`w-full px-4 py-1.5 border rounded-lg focus:ring-2 focus:border-transparent outline-none ${errors.firstName ? "border-red-500 focus:ring-red-500" : "border-gray-300 focus:ring-blue-500"}`}
@@ -187,6 +188,8 @@ const RegisterForm = ({ onSwitchToLogin }) => {
handleInputChange("lastName", e.target.value)}
placeholder="Last name"
className={`w-full px-4 py-1.5 border rounded-lg focus:ring-2 focus:border-transparent outline-none ${errors.lastName ? "border-red-500 focus:ring-red-500" : "border-gray-300 focus:ring-blue-500"}`}
diff --git a/src/components/process/processStepOne/RecipientAddCard.tsx b/src/components/process/processStepOne/RecipientAddCard.tsx
index 3b1807e..dff3071 100644
--- a/src/components/process/processStepOne/RecipientAddCard.tsx
+++ b/src/components/process/processStepOne/RecipientAddCard.tsx
@@ -447,6 +447,7 @@ const RecipientAddCard = ({ transactionTemplateToggle, editRecipient, editCase,
onBlur={handleContactModalBlur}
value={recipient.firstName}
placeholder="First Name"
+ name="firstName"
className={`w-full px-3 sm:px-4 py-2 border rounded-md text-sm focus:outline-none transition
${errors.firstName ? 'border-red-500 ring-2 ring-red-300' : 'border-gray-300 focus:ring-2 focus:ring-[var(--primary)]'}`}
onChange={(e) => {
@@ -461,6 +462,8 @@ const RecipientAddCard = ({ transactionTemplateToggle, editRecipient, editCase,
type="text"
onFocus={() => handleFocus("lastName")}
onBlur={handleContactModalBlur}
+ name="lastName"
+ autoComplete="family-name"
value={recipient.lastName}
placeholder="Last Name"
className={`w-full px-3 sm:px-4 py-2 border rounded-md text-sm focus:outline-none transition