Skip to content

Commit c292105

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: [Form] Mention that by_reference only works in English
2 parents 66cd866 + 08f9c24 commit c292105

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

form/form_collections.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,12 @@ you will learn about next!).
444444
otherwise the form will still use ``setTag()`` even if ``by_reference`` is ``false``.
445445
You'll learn more about the ``removeTag()`` method later in this article.
446446

447+
.. caution::
448+
449+
Symfony can only make the plural-to-singular conversion (e.g. from the
450+
``tags`` property to the ``addTag()`` method) for English words. Code
451+
written in any other language won't work as expected.
452+
447453
.. sidebar:: Doctrine: Cascading Relations and saving the "Inverse" side
448454

449455
To save the new tags with Doctrine, you need to consider a couple more

0 commit comments

Comments
 (0)