|
|
@ -11,7 +11,6 @@ const FormInput = () => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div className="mx-72 mt-20 flex flex-row items-center justify-between divide-x-2 divide-[#F3F3F3] divide-x-reverse bg-white p-4 py-7 border border-gray-200 rounded-sm shadow-sm"> |
|
|
|
<div className="mx-72 mt-20 flex flex-row items-center justify-between divide-x-2 divide-[#F3F3F3] divide-x-reverse bg-white p-4 py-7 border border-gray-200 rounded-sm shadow-sm"> |
|
|
|
<div className="flex-grow flex-1 flex flex-col gap-y-4 px-4"> |
|
|
|
<div className="flex-grow flex-1 flex flex-col gap-y-4 px-4"> |
|
|
|
<Input register={register("firstName")} label="نام " type="text" /> |
|
|
|
|
|
|
|
<Input |
|
|
|
<Input |
|
|
|
register={register("firstName")} |
|
|
|
register={register("firstName")} |
|
|
|
// defaultValue={info?.firstName}
|
|
|
|
// defaultValue={info?.firstName}
|
|
|
@ -45,7 +44,7 @@ const FormInput = () => { |
|
|
|
<option>دکتری</option> |
|
|
|
<option>دکتری</option> |
|
|
|
</select>{" "} |
|
|
|
</select>{" "} |
|
|
|
<Input |
|
|
|
<Input |
|
|
|
register={register("birthYear")} |
|
|
|
register={register("gender")} |
|
|
|
label="جنسیت" |
|
|
|
label="جنسیت" |
|
|
|
type="number" |
|
|
|
type="number" |
|
|
|
borderClassname={`border-transparent `} |
|
|
|
borderClassname={`border-transparent `} |
|
|
@ -56,7 +55,7 @@ const FormInput = () => { |
|
|
|
<Input |
|
|
|
<Input |
|
|
|
register={register("mobileNumber")} |
|
|
|
register={register("mobileNumber")} |
|
|
|
label="شماره تماس" |
|
|
|
label="شماره تماس" |
|
|
|
type="text" |
|
|
|
type="number" |
|
|
|
borderClassname={`border-transparent `} |
|
|
|
borderClassname={`border-transparent `} |
|
|
|
className={``} |
|
|
|
className={``} |
|
|
|
/> |
|
|
|
/> |
|
|
@ -81,7 +80,7 @@ const FormInput = () => { |
|
|
|
className={``} |
|
|
|
className={``} |
|
|
|
/> |
|
|
|
/> |
|
|
|
<Input |
|
|
|
<Input |
|
|
|
register={register("foundus")} |
|
|
|
register={register("idCard")} |
|
|
|
label="کد ملی" |
|
|
|
label="کد ملی" |
|
|
|
type="number" |
|
|
|
type="number" |
|
|
|
borderClassname={`border-transparent `} |
|
|
|
borderClassname={`border-transparent `} |
|
|
|