Merge branch 'feature/debug_upload_file' into 'develop'
Feature/debug upload file See merge request witel3/loan-facilities-expert!55
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
|
"publish-3002": "next start -p 3002",
|
||||||
"lint": "next lint"
|
"lint": "next lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -29,6 +29,9 @@ const UploadSystem = ({
|
|||||||
setselectedImage(null);
|
setselectedImage(null);
|
||||||
setFieldValue(fieldname, null);
|
setFieldValue(fieldname, null);
|
||||||
setShowAddIcon(true);
|
setShowAddIcon(true);
|
||||||
|
if (fileInputRef.current) {
|
||||||
|
fileInputRef.current.value = "";
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const isDocumentFormat = (fileType) => {
|
const isDocumentFormat = (fileType) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user