Skip to content

Commit

Permalink
minor #4253 Adder and remover sidenote (kshishkin)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
weaverryan committed Nov 20, 2014
2 parents ad14e78 + 59b932d commit 2139754
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cookbook/form/form_collections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -463,9 +463,9 @@ we talk about next!).

.. caution::

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

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

Expand Down

0 comments on commit 2139754

Please sign in to comment.