Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a7b80a6

Browse filesBrowse files
committed
[Form] added multiple option to file type doc
1 parent 9d4a138 commit a7b80a6
Copy full SHA for a7b80a6

File tree

Expand file treeCollapse file tree

1 file changed

+12
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+12
-0
lines changed

‎reference/forms/types/file.rst

Copy file name to clipboardExpand all lines: reference/forms/types/file.rst
+12Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ The ``file`` type represents a file input in your form.
99
+-------------+---------------------------------------------------------------------+
1010
| Rendered as | ``input`` ``file`` field |
1111
+-------------+---------------------------------------------------------------------+
12+
| Options | - `multiple`_ |
13+
+-------------+---------------------------------------------------------------------+
1214
| Inherited | - `required`_ |
1315
| options | - `label`_ |
1416
| | - `read_only`_ |
@@ -76,6 +78,16 @@ before using it directly.
7678
Read the :doc:`cookbook </cookbook/doctrine/file_uploads>` for an example of
7779
how to manage a file upload associated with a Doctrine entity.
7880

81+
Field Options
82+
-------------
83+
84+
multiple
85+
~~~~~~~~
86+
87+
**type**: ``Boolean`` **default**: ``false``
88+
89+
When set to true, the user will be able to upload multiple files at the same time.
90+
7991
Inherited options
8092
-----------------
8193

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.