Skip to content

Commit 0ad2d2f

Browse files
MrYamousjaviereguiluz
authored andcommitted
[Form] fix EntityType with multiple=true return type
1 parent 430f4ef commit 0ad2d2f

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

reference/forms/types/entity.rst

+10-1
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)