15-oct
This commit is contained in:
parent
5c12a25d51
commit
759468ed84
|
|
@ -176,6 +176,7 @@ const RegisterForm = ({ onSwitchToLogin }) => {
|
|||
<input
|
||||
type="text"
|
||||
value={formData.firstName}
|
||||
name="firstName"
|
||||
onChange={(e) => 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 }) => {
|
|||
<input
|
||||
type="text"
|
||||
value={formData.lastName}
|
||||
name="lastName"
|
||||
autoComplete="family-name"
|
||||
onChange={(e) => 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"}`}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue