Skip to content

Commit

Permalink
fix(FileUpload): hid input of type file from AT (v5)
Browse files Browse the repository at this point in the history
  • Loading branch information
thatblindgeye committed Jan 16, 2025
1 parent 97dd901 commit a0fb5e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ export const FileUpload: React.FunctionComponent<FileUploadProps> = ({
<input
/* hidden, necessary for react-dropzone */
{...inputProps}
hidden
/>
{children}
</FileUploadField>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export const MultipleFileUpload: React.FunctionComponent<MultipleFileUploadProps
<input
/* hidden, necessary for react-dropzone */
{...getInputProps()}
hidden
/>
{children}
</div>
Expand Down

0 comments on commit a0fb5e9

Please sign in to comment.