diff --git a/src/components/accessories/patientDataForm/PatientDataForm.tsx b/src/components/accessories/patientDataForm/PatientDataForm.tsx index 3d4725b91..4fb01043c 100644 --- a/src/components/accessories/patientDataForm/PatientDataForm.tsx +++ b/src/components/accessories/patientDataForm/PatientDataForm.tsx @@ -58,7 +58,7 @@ const PatientDataForm: FunctionComponent = ({ 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"