Skip to content

Commit bdd8325

Browse files
author
kshishkin
committed
Adder and remover sidenote
| Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | none There are cases when you only want either adder or remover, important to know both of them need to be found if any is to work.
1 parent 17addb1 commit bdd8325

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cookbook/form/form_collections.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,8 @@ these new ``Tag`` objects easier (especially if you're using Doctrine, which
462462
we talk about next!).
463463

464464
.. caution::
465-
465+
Create **both** methods, otherwise none of them will be used.
466+
466467
If no ``addTag`` **and** ``removeTag`` method is found, the form will
467468
still use ``setTag`` even if ``by_reference`` is ``false``. You'll learn
468469
more about the ``removeTag`` method later in this article.

0 commit comments

Comments
 (0)