Skip to content

Commit

Permalink
fix: require collective agreement field on application form
Browse files Browse the repository at this point in the history
  • Loading branch information
sirtawast authored Sep 28, 2023
1 parent f76916f commit 8cd3355
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,8 @@ export const getValidationSchema = (
.transform((_value, originalValue) => getNumberValue(originalValue))
.typeError(t(VALIDATION_MESSAGE_KEYS.NUMBER_INVALID))
.required(t(VALIDATION_MESSAGE_KEYS.REQUIRED)),
[EMPLOYEE_KEYS.COLLECTIVE_BARGAINING_AGREEMENT]: Yup.string().required(
t(VALIDATION_MESSAGE_KEYS.REQUIRED)
),
}),
});

0 comments on commit 8cd3355

Please sign in to comment.