Skip to content

Commit

Permalink
add enctype to handle attachments
Browse files Browse the repository at this point in the history
  • Loading branch information
ethangardner committed Nov 13, 2024
1 parent b6c1638 commit f1f01bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/design/src/Form/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export default function Form({
{!isPreview ? (
<form
className="usa-form margin-bottom-3 maxw-full"
encType="multipart/form-data"
onSubmit={
onSubmit
? formMethods.handleSubmit(async (data, event) => {
Expand Down

0 comments on commit f1f01bc

Please sign in to comment.