Skip to content

Commit 8faf254

Browse files
committed
docs: update file upload
1 parent c1407dc commit 8faf254

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

website/src/content/pages/components/file-upload.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ structure while preserving the folder hierarchy.
5050
The `file.webkitRelativePath` property contains the full path of each file within the uploaded directory, allowing you
5151
to display the folder structure or process files based on their location.
5252

53+
> **Important**: When uploading directories with many files, set `maxFiles` to a higher value (e.g., `maxFiles={100}`)
54+
> or remove the limit entirely to prevent files from being rejected due to the default file count restriction.
55+
5356
### Accepted File Types
5457

5558
Use the `accept` prop to restrict the file types that can be uploaded. This prop accepts MIME types (e.g., `image/png`,

0 commit comments

Comments
 (0)