From 9c8b59639a6db5711020046ce3b643019f4eb206 Mon Sep 17 00:00:00 2001 From: JOSHIK ROSHAN <96165631+JOSHIK27@users.noreply.github.com> Date: Tue, 20 Aug 2024 13:53:05 +0100 Subject: [PATCH] Update src/Components/Facility/ConsultationForm.tsx Co-authored-by: Rithvik Nishad --- src/Components/Facility/ConsultationForm.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Components/Facility/ConsultationForm.tsx b/src/Components/Facility/ConsultationForm.tsx index b30bb2a2c0a..1345cf2fef5 100644 --- a/src/Components/Facility/ConsultationForm.tsx +++ b/src/Components/Facility/ConsultationForm.tsx @@ -1448,9 +1448,7 @@ export const ConsultationForm = ({ facilityId, patientId, id }: Props) => { name={"treating_physician"} label={t("treating_doctor")} placeholder="Attending Doctors Name and Designation" - required={ - state.form.suggestion === "DC" ? false : true - } + required={state.form.suggestion !== "DC"} value={ state.form.treating_physician_object ?? undefined }