Skip to content

Commit ca8a562

Browse files
committed
fix return type with multiple option for entityType
1 parent 08572c4 commit ca8a562

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
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

reference/forms/types/options/multiple.rst.inc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@
66
If true, the user will be able to select multiple options (as opposed
77
to choosing just one option). Depending on the value of the ``expanded``
88
option, this will render either a select tag or checkboxes if true and
9-
a select tag or radio buttons if false. The returned value will be a
10-
Doctrine's Array Collection.
9+
a select tag or radio buttons if false. The returned value will be an array.

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