Skip to content

Commit

Permalink
update(Laboratory Filter): Fix disease field not being reset on disea…
Browse files Browse the repository at this point in the history
…se type changed
  • Loading branch information
SteveGT96 committed Sep 25, 2023
1 parent 410ece0 commit 2bb3ec7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/accessories/opds/filter/OpdFilterForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ export const OpdFilterForm: FC<IOpdFilterProps> = ({
}
if (fieldName === "diseaseTypeCode") {
setDiseaseTypeCode((value ?? "") as string);
formik.setFieldValue("diseaseCode", "");
}
},
[setFieldValue, handleBlur]
Expand Down

0 comments on commit 2bb3ec7

Please sign in to comment.