10000 fix option name ("entry_type" instead of "type") · bamarni/symfony-docs@d64b396 · GitHub
[go: up one dir, main page]

Skip to content

Commit d64b396

Browse files
committed
fix option name ("entry_type" instead of "type")
1 parent cff2ee2 commit d64b396

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
@@ -281,10 +281,10 @@ the empty values will be kept.
281281
.. caution::
282282

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

290290
entry_options

0 commit comments

Comments
 (0)
0