10000 Processed xabbuh comments · symfony/symfony-docs@0373a97 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0373a97

Browse files
committed
Processed xabbuh comments
1 parent 3f1a814 commit 0373a97

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

reference/forms/types/collection.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ the empty values will be kept.
288288

289289
A value is deleted from the collection only if the normalized value is ``null``.
290290
However, you can also set the option value to a callable, which will be executed
291-
for each value in the submitted collection. If the callable returns ``false``,
291+
for each value in the submitted collection. If the callable returns ``true``,
292292
the value is removed from the collection. For example::
293293

294294
use Symfony\Component\Form\Extension\Core\Type\CollectionType;
@@ -305,7 +305,8 @@ Using a callable is particularly useful in case of compound form types, which
305305
may define complex conditions for considering them empty.
306306

307307
.. versionadded:: 3.4
308-
Using a callable for the ``delete_empty`` option was introduced in Symfony 3.4.
308+
Support for using a callable for the ``delete_empty`` option was introduced
309+
in Symfony 3.4.
309310

310311
entry_options
311312
~~~~~~~~~~~~~

0 commit comments

Comments
 (0)
0