Skip to content

Commit

Permalink
Set max file size to 6mb
Browse files Browse the repository at this point in the history
  • Loading branch information
abeddow91 committed Feb 20, 2024
1 parent d15d82b commit da3a439
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dotcom-rendering/src/components/Callout/FormField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export const FormField = ({
supporting={description}
optional={!required}
error={fieldError}
maxFileSize={6_000_000}
data-testid={`form-field-${formField.id}`}
onUpload={(file: string | undefined): void =>
setFieldInFormData(formField.id, file)
Expand Down

0 comments on commit da3a439

Please sign in to comment.