From bc8e1317a835c4802b9a7b1bc39a744470402b84 Mon Sep 17 00:00:00 2001 From: khavinshankar Date: Tue, 16 Jan 2024 17:56:26 +0530 Subject: [PATCH] fix: updated the whitelisted filetypes --- src/Components/Patient/FileUpload.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Patient/FileUpload.tsx b/src/Components/Patient/FileUpload.tsx index b4b7acef0e3..1da3af40ef7 100644 --- a/src/Components/Patient/FileUpload.tsx +++ b/src/Components/Patient/FileUpload.tsx @@ -1534,7 +1534,7 @@ export const FileUpload = (props: FileUploadProps) => { title="changeFile" onChange={onFileChange} type="file" - accept="image/jpeg,image/png,application/pdf" + accept="image/*,video/*,audio/*,text/plain,text/csv,application/rtf,application/msword,application/vnd.oasis.opendocument.text,application/pdf,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.oasis.opendocument.spreadsheet,application/pdf" hidden />