Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7c1b2c3

Browse filesBrowse files
committed
Merge branch '2.3' into 2.4
2 parents 3945d5f + 55dbd0b commit 7c1b2c3
Copy full SHA for 7c1b2c3

File tree

Expand file treeCollapse file tree

3 files changed

+10
-2
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+10
-2
lines changed

‎reference/constraints/Valid.rst

Copy file name to clipboardExpand all lines: reference/constraints/Valid.rst
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ object and all sub-objects associated with it.
1313
| Class | :class:`Symfony\\Component\\Validator\\Constraints\\Type` |
1414
+----------------+---------------------------------------------------------------------+
1515

16+
.. include:: /reference/forms/types/options/_error_bubbling_hint.rst.inc
17+
1618
Basic Usage
1719
-----------
1820

+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.. tip::
2+
3+
By default the ``error_bubbling`` option is enabled for the
4+
:doc:`collection Field Type </reference/forms/types/collection>`,
5+
which passes the errors to the parent form. If you want to attach
6+
the errors to the locations where they actually occur you have to
7+
set ``error_bubbling`` to ``false``.

‎reference/forms/types/options/cascade_validation.rst.inc

Copy file name to clipboardExpand all lines: reference/forms/types/options/cascade_validation.rst.inc
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@ the data from ``CategoryType`` to also be validated.
1111
Instead of using this option, you can also use the ``Valid`` constraint in
1212
your model to force validation on a child object stored on a property.
1313

14-
15-
14+
.. include:: /reference/forms/types/options/_error_bubbling_hint.rst.inc
1615

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.