Skip to content

Commit e6c099e

Browse files
authored
Merge pull request #832 from buildo/file-uploader-name
2 parents 8203d60 + e2fd1b7 commit e6c099e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/bento-design-system/src/FileUploaderField/FileUploaderField.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ export function FileUploaderField<E extends string>({
141141
allowedFileTypes,
142142
height: height_,
143143
isUploading,
144+
name,
144145
}: Props<E>) {
145146
const config = useBentoConfig().fileUploaderField;
146147
const height = height_ ?? config.defaultHeight;
@@ -354,7 +355,7 @@ export function FileUploaderField<E extends string>({
354355
</Stack>
355356
</Inset>
356357
)}
357-
<input {...getInputProps()} {...fieldProps} />
358+
<input name={name} {...getInputProps()} {...fieldProps} />
358359
</Box>
359360
</Field>
360361
);

0 commit comments

Comments
 (0)