Ver código fonte

update

tags/Baseline_30082024_FRONTEND_UAT
MSI\derek 1 ano atrás
pai
commit
98bdb1eafb
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      src/components/EditStaff/StaffInfo.tsx

+ 2
- 2
src/components/EditStaff/StaffInfo.tsx Ver arquivo

@@ -417,7 +417,7 @@ const StaffInfo: React.FC<Props> = ({ combos }) => {
}}
slotProps={{
textField: {
required: true,
// required: true,
error:
joinDate === "Invalid Date" || Boolean(errors.joinDate),
// value: errors.joinDate?.message,
@@ -466,7 +466,7 @@ const StaffInfo: React.FC<Props> = ({ combos }) => {
}}
slotProps={{
textField: {
error: departDate
error: joinDate && departDate
? new Date(joinDate) > new Date(departDate)
: false,
},


Carregando…
Cancelar
Salvar