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

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy