fix pdf generated on complete of appeal and set file limit to 500mb

This commit is contained in:
2024-12-11 13:31:03 +00:00
parent 247efa2ff3
commit 414116aff8
2 changed files with 10 additions and 15 deletions
+5 -4
View File
@@ -2000,7 +2000,7 @@ const RenderFileUpload = (field) => {
<>
<Dropzone
key={field.input.name + "_key"}
maxSize={210 * 1024 * 1024}
maxSize={500 * 1024 * 1024}
accept={{
"application/pdf": [".pdf"],
"application/msword": [".doc"],
@@ -2100,12 +2100,13 @@ const RenderFileUpload = (field) => {
<div {...getRootProps({ style })}>
{" "}
<input id={field.id} {...getInputProps()} />
<div>
<div className="govuk-!-font-size-14">
{t(
"newappeal:new-appeal-fileupload-drop-label"
)}
)}{" "}
(Max 500MB)
</div>
<em>
<em className="govuk-!-font-size-14">
(
{t(
"newappeal:new-appeal-fileupload-file-list-label"