Skip to content

Commit

Permalink
[Form] added multiple option to file type doc
Browse files Browse the repository at this point in the history
  • Loading branch information
bamarni committed Dec 17, 2013
1 parent 9d4a138 commit a7b80a6
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`_ |
| | - `read_only`_ |
Expand Down Expand Up @@ -76,6 +78,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 a7b80a6

Please sign in to comment.