Skip to content

Commit 644b2a1

Browse files
author
Carlos Hernández
committed
Add documentation for multiple file uploads in Dropzone
1 parent d121de9 commit 644b2a1

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

src/Dropzone/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# CHANGELOG
22

3-
## 2.31
3+
## 2.32
44

5-
- Support for multiple files drag and drop and peviews
5+
- Add support for multiple files upload
66

77
## 2.30
88

src/Dropzone/doc/index.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,18 @@ replacement of the native FileType class::
5555
// ...
5656
}
5757

58+
To enable multiple uploads, you can configure it in buildForm method adding "multiple" boolean option::
59+
60+
// ...
61+
->add(
62+
'photo',
63+
DropzoneType::class,
64+
[
65+
'multiple' => true, // Allow multiple file uploads
66+
]
67+
)
68+
// ...
69+
5870
Customizing the design
5971
~~~~~~~~~~~~~~~~~~~~~~
6072

0 commit comments

Comments
 (0)