Skip to content

Commit

Permalink
Merge pull request #832 from buildo/file-uploader-name
Browse files Browse the repository at this point in the history
  • Loading branch information
gabro authored Feb 28, 2024
2 parents 8203d60 + e2fd1b7 commit e6c099e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ export function FileUploaderField<E extends string>({
allowedFileTypes,
height: height_,
isUploading,
name,
}: Props<E>) {
const config = useBentoConfig().fileUploaderField;
const height = height_ ?? config.defaultHeight;
Expand Down Expand Up @@ -354,7 +355,7 @@ export function FileUploaderField<E extends string>({
</Stack>
</Inset>
)}
<input {...getInputProps()} {...fieldProps} />
<input name={name} {...getInputProps()} {...fieldProps} />
</Box>
</Field>
);
Expand Down

0 comments on commit e6c099e

Please sign in to comment.