|
|
|
@ -11,7 +11,6 @@ const FormInput = () => { |
|
|
|
|
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="flex-grow flex-1 flex flex-col gap-y-4 px-4"> |
|
|
|
|
<Input register={register("firstName")} label="نام " type="text" /> |
|
|
|
|
<Input |
|
|
|
|
register={register("firstName")} |
|
|
|
|
// defaultValue={info?.firstName}
|
|
|
|
@ -45,7 +44,7 @@ const FormInput = () => { |
|
|
|
|
<option>دکتری</option> |
|
|
|
|
</select>{" "} |
|
|
|
|
<Input |
|
|
|
|
register={register("birthYear")} |
|
|
|
|
register={register("gender")} |
|
|
|
|
label="جنسیت" |
|
|
|
|
type="number" |
|
|
|
|
borderClassname={`border-transparent `} |
|
|
|
@ -56,7 +55,7 @@ const FormInput = () => { |
|
|
|
|
<Input |
|
|
|
|
register={register("mobileNumber")} |
|
|
|
|
label="شماره تماس" |
|
|
|
|
type="text" |
|
|
|
|
type="number" |
|
|
|
|
borderClassname={`border-transparent `} |
|
|
|
|
className={``} |
|
|
|
|
/> |
|
|
|
@ -81,7 +80,7 @@ const FormInput = () => { |
|
|
|
|
className={``} |
|
|
|
|
/> |
|
|
|
|
<Input |
|
|
|
|
register={register("foundus")} |
|
|
|
|
register={register("idCard")} |
|
|
|
|
label="کد ملی" |
|
|
|
|
type="number" |
|
|
|
|
borderClassname={`border-transparent `} |
|
|
|
|