Skip to content

Commit 2139754

Browse files
committed
minor #4253 Adder and remover sidenote (kshishkin)
This PR was merged into the 2.3 branch. Discussion ---------- 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. Commits ------- 59b932d Merging emphasized notes bdd8325 Adder and remover sidenote
2 parents ad14e78 + 59b932d commit 2139754

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cookbook/form/form_collections.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -463,9 +463,9 @@ we talk about next!).
463463

464464
.. caution::
465465

466-
If no ``addTag`` **and** ``removeTag`` method is found, the form will
467-
still use ``setTag`` even if ``by_reference`` is ``false``. You'll learn
468-
more about the ``removeTag`` method later in this article.
466+
You have to create **both** ``addTag`` and ``removeTag`` methods,
467+
otherwise the form will still use ``setTag`` even if ``by_reference`` is ``false``.
468+
You'll learn more about the ``removeTag`` method later in this article.
469469

470470
.. sidebar:: Doctrine: Cascading Relations and saving the "Inverse" side
471471

0 commit comments

Comments
 (0)