Skip to content

Commit d544e68

Browse files
committed
Merge branch '6.1' into 6.2
* 6.1: [Form] fix EntityType with multiple=true return type
2 parents 2646942 + f327884 commit d544e68

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

reference/forms/types/entity.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,16 @@ These options inherit from the :doc:`ChoiceType </reference/forms/types/choice>`
236236

237237
.. include:: /reference/forms/types/options/group_by.rst.inc
238238

239-
.. include:: /reference/forms/types/options/multiple.rst.inc
239+
``multiple``
240+
~~~~~~~~~~~~
241+
242+
**type**: ``boolean`` **default**: ``false``
243+
244+
If ``true``, the user will be able to select multiple options (as opposed
245+
to choosing just one option). Depending on the value of the ``expanded``
246+
option, this will render either a select tag or checkboxes if ``true`` and
247+
a select tag or radio buttons if ``false``. The returned value will be a
248+
Doctrine's Array Collection.
240249

241250
.. note::
242251

0 commit comments

Comments
 (0)