Skip to content

Commit c54fb0e

Browse files
committed
minor #16849 [Form] fix EntityType with multiple=true return type (MrYamous)
This PR was squashed before being merged into the 4.4 branch. Discussion ---------- [Form] fix EntityType with multiple=true return type Small fix for #16805 about return type in form with multiple option I'm doing this on version 4.4 because it's the older maintained, but maybe we need to correct further? Commits ------- 0ad2d2f [Form] fix EntityType with multiple=true return type
2 parents 354c584 + 0ad2d2f commit c54fb0e

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)