8000 Merge branch '2.8' into 3.2 · symfony/symfony-docs@8d3b11c · GitHub
[go: up one dir, main page]

Skip to content

Commit 8d3b11c

Browse files
committed
Merge branch '2.8' into 3.2
* 2.8: fix option name ("entry_type" instead of "type")
2 parents 40ce796 + d64b396 commit 8d3b11c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/forms/types/collection.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,10 +280,10 @@ the empty values will be kept.
280280
.. caution::
281281

282282
The ``delete_empty`` option only removes items when the normalized value is
283-
``null``. If the nested `type`_ is a compound form type, you must either set
284-
the ``required`` option to ``false`` or set the ``empty_data`` option to
285-
``null``. Both of these options can be set inside `entry_options`_. Read
286-
about the :ref:`form's empty_data option <reference-form-option-empty-data>`
283+
``null``. If the nested `entry_type`_ is a compound form type, you must
284+
either set the ``required`` option to ``false`` or set the ``empty_data``
285+
option to ``null``. Both of these options can be set inside `entry_options`_.
286+
Read about the :ref:`form's empty_data option <reference-form-option-empty-data>`
287287
to learn why this is necessary.
288288

289289
entry_options

0 commit comments

Comments
 (0)
0