Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove material field form lab form
Browse files Browse the repository at this point in the history
SilverD3 committed Sep 19, 2023
1 parent 5f60db1 commit 64f9e7c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/accessories/laboratory/examForm/ExamForm.tsx
Original file line number Diff line number Diff line change
@@ -130,6 +130,7 @@ const ExamForm: FC<ExamProps> = ({
} else {
lab.status = LaboratoryDTOStatusEnum.OPEN;
}
lab.material = "Undefined";

if (!creationMode && labToEdit.code) {
dispatch(updateLab(labToEdit.code, labWithRowsDTO));
@@ -165,7 +166,7 @@ const ExamForm: FC<ExamProps> = ({
},
}),
exam: string().required(t("common.required")),
material: string().required(t("common.required")),
///material: string().required(t("common.required")),
result: string(),
note: string().test({
name: "maxLength",
@@ -392,7 +393,7 @@ const ExamForm: FC<ExamProps> = ({
disabled={false}
/>
</div>
<div className="patientExamForm__item">
{/* <div className="patientExamForm__item">
<AutocompleteField
fieldName="material"
fieldValue={formik.values.material}
@@ -404,8 +405,8 @@ const ExamForm: FC<ExamProps> = ({
options={materialsOptionsSelector(materialsList)}
disabled={isLoading}
/>
</div>
<div className="patientExamForm__item fullWidth">
</div> */}
<div className="patientExamForm__item">
<AutocompleteField
fieldName="exam"
fieldValue={formik.values.exam}

0 comments on commit 64f9e7c

Please sign in to comment.