diff --git a/src/components/EditStaff/StaffInfo.tsx b/src/components/EditStaff/StaffInfo.tsx index 5ca6c4c..9598b27 100644 --- a/src/components/EditStaff/StaffInfo.tsx +++ b/src/components/EditStaff/StaffInfo.tsx @@ -82,7 +82,7 @@ const StaffInfo: React.FC = ({ combos }) => { // reset, resetField, setValue, - // getValues, + getValues, watch, clearErrors, } = useFormContext(); @@ -319,7 +319,9 @@ const StaffInfo: React.FC = ({ combos }) => { ))} - @@ -354,7 +356,7 @@ const StaffInfo: React.FC = ({ combos }) => { - {t("Grade")} + {t("Grade")} = ({ combos }) => { ))} - @@ -439,7 +442,8 @@ const StaffInfo: React.FC = ({ combos }) => { ))} -