Skip to content

Commit

Permalink
Merge pull request #3354 from bamarni/patch-6
Browse files Browse the repository at this point in the history
[Form] added multiple option to file type doc
  • Loading branch information
weaverryan committed Dec 26, 2013
2 parents d31465b + bf98517 commit 6bdcdb1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions reference/forms/types/file.rst
Expand Up @@ -9,6 +9,8 @@ The ``file`` type represents a file input in your form.
+-------------+---------------------------------------------------------------------+
| Rendered as | ``input`` ``file`` field |
+-------------+---------------------------------------------------------------------+
| Options | - `multiple`_ |
+-------------+---------------------------------------------------------------------+
| Inherited | - `required`_ |
| options | - `label`_ |
| | - `label_attr`_ |
Expand Down Expand Up @@ -77,6 +79,16 @@ before using it directly.
Read the :doc:`cookbook </cookbook/doctrine/file_uploads>` for an example of
how to manage a file upload associated with a Doctrine entity.

Field Options
-------------

multiple
~~~~~~~~

**type**: ``Boolean`` **default**: ``false``

When set to true, the user will be able to upload multiple files at the same time.

Inherited options
-----------------

Expand Down

0 comments on commit 6bdcdb1

Please sign in to comment.