Skip to content

Commit

Permalink
Add file upload page
Browse files Browse the repository at this point in the history
  • Loading branch information
albertkol committed Feb 27, 2025
1 parent 847cdc3 commit 803c25c
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions fsd_config/form_jsons/sf_r1/project-name-sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"name": "orUXQc",
"options": {},
"type": "Para",
"content": "<label class=\"govuk-!-font-weight-bold\">In this section, we'll ask about:\n</label>\n\n<div class=\"govuk-body\">\n<ul class=\"govuk-list govuk-list--bullet\">\n<li>project name</li>\n<li>project overview</li>\n</ul>\n</div>",
"content": "<label class=\"govuk-!-font-weight-bold\">In this section, we'll ask about:\n</label>\n\n<div class=\"govuk-body\">\n<ul class=\"govuk-list govuk-list--bullet\">\n<li>project name</li>\n<li>project overview</li>\n<li>upload the quote for the project</li>\n</ul>\n</div>",
"schema": {}
}
],
Expand All @@ -43,7 +43,7 @@
],
"next": [
{
"path": "/summary"
"path": "/upload-file"
}
],
"section": "FabDefault"
Expand All @@ -67,6 +67,36 @@
}
],
"section": "FabDefault"
},
{
"path": "/upload-file",
"title": "Upload file",
"components": [
{
"options": {
"dropzoneConfig": {
"maxFiles": 1,
"parallelUploads": 1,
"maxFilesize": 50,
"acceptedFiles": "image/jpeg,image/png,application/pdf,text/plain,application/msword,application/vndopenxmlformats-officedocument.wordprocessingml.document,application/vnd.oasis.opendocument.text,text/csv,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
},
"showNoScriptWarning": false,
"minimumRequiredFiles": 1,
"hideTitle": false
},
"type": "ClientSideFileUploadField",
"title": "Upload the quote for the project",
"hint": "",
"schema": {},
"name": "SqqyyB"
}
],
"next": [
{
"path": "/summary"
}
],
"section": "FabDefault"
}
],
"lists": [],
Expand Down

0 comments on commit 803c25c

Please sign in to comment.