Skip to content

Commit

Permalink
Merge branch 'develop' into OH2-251
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveGT96 committed Nov 10, 2023
2 parents 13b5e16 + cc4a7d7 commit c8b2cd4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const PatientDataForm: FunctionComponent<TProps> = ({
secondName: string().required(t("common.required")),
age:
ageType === "age"
? number().required(t("common.required")).min(0)
? number().required(t("common.required")).min(0).max(200)
: string(),
agetype:
ageType === "agetype"
Expand Down

0 comments on commit c8b2cd4

Please sign in to comment.