Skip to content

Commit 6bdcdb1

Browse files
committed
Merge pull request #3354 from bamarni/patch-6
[Form] added multiple option to file type doc
2 parents d31465b + bf98517 commit 6bdcdb1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

reference/forms/types/file.rst

Lines 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
| | - `label_attr`_ |
@@ -77,6 +79,16 @@ before using it directly.
7779
Read the :doc:`cookbook </cookbook/doctrine/file_uploads>` for an example of
7880
how to manage a file upload associated with a Doctrine entity.
7981

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy