increased length of address field - 250
This commit is contained in:
parent
c2b91b9737
commit
ec80121621
@ -63,7 +63,7 @@ const ManageEmployee = () => {
|
||||
CurrentAddress: z
|
||||
.string()
|
||||
.min(1, { message: "Current Address is required" })
|
||||
.max(150, { message: "Address cannot exceed 150 characters" }),
|
||||
.max(250, { message: "Address cannot exceed 250 characters" }),
|
||||
BirthDate: z
|
||||
.string()
|
||||
.min(1, { message: "Birth Date is required" })
|
||||
@ -112,7 +112,7 @@ const ManageEmployee = () => {
|
||||
PermanentAddress: z
|
||||
.string()
|
||||
.min(1, { message: "Permanent Address is required" })
|
||||
.max(150, { message: "Address cannot exceed 150 characters" }),
|
||||
.max(250, { message: "Address cannot exceed 250 characters" }),
|
||||
PhoneNumber: z
|
||||
.string()
|
||||
.min(1, { message: "Phone Number is required" })
|
||||
|
Loading…
x
Reference in New Issue
Block a user