From c27448d5ff5f6409d57361cdc9e1c5db68c7c4d4 Mon Sep 17 00:00:00 2001 From: SteveGT96 Date: Fri, 20 Oct 2023 17:31:25 +0100 Subject: [PATCH] fix(OHCS-110): Make exam form field required --- src/components/accessories/patientExams/ExamForm/ExamForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/accessories/patientExams/ExamForm/ExamForm.tsx b/src/components/accessories/patientExams/ExamForm/ExamForm.tsx index 35113be7e..e14902324 100644 --- a/src/components/accessories/patientExams/ExamForm/ExamForm.tsx +++ b/src/components/accessories/patientExams/ExamForm/ExamForm.tsx @@ -61,7 +61,7 @@ const ExamForm: FC = ({ }, }), exam: string().required(t("common.required")), - result: string(), + result: string().required(t("common.required")), note: string().test({ name: "maxLength", message: t("common.maxlengthexceeded", { maxLength: 255 }),