Skip to content

Commit ec558d5

Browse files
committed
WIP use JS-enhanced file upload
Relies on govuk_design_system_formbuilder gem merging this PR: x-govuk/govuk-form-builder#548
1 parent b00a027 commit ec558d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/components/question/file_component/view.html.erb

+2
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@
77
text: question.hint_text,
88
class: "govuk-!-margin-bottom-7"
99
},
10+
javascript: true,
1011
accept: Question::File::FILE_TYPES.join(", ")
12+
1113
%>

0 commit comments

Comments
 (0)