8000 [Form] Mention that by_reference only works in English by javiereguiluz · Pull Request #12046 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Form] Mention that by_reference only works in English #12046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 30, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions form/form_collections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,12 @@ you will learn about next!).
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.

.. caution::

Symfony can only make the plural-to-singular conversion (e.g. from the
``tags`` property to the ``addTag()`` method) for English words. Code
written in any other language won't work as expected.

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

To save the new tags with Doctrine, you need to consider a couple more
Expand Down
0