File tree 3 files changed +10
-2
lines changed
3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ object and all sub-objects associated with it.
13
13
| Class | :class: `Symfony\\ Component\\ Validator\\ Constraints\\ Type ` |
14
14
+----------------+---------------------------------------------------------------------+
15
15
16
+ .. include :: /reference/forms/types/options/_error_bubbling_hint.rst.inc
17
+
16
18
Basic Usage
17
19
-----------
18
20
Original file line number Diff line number Diff line change
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 ``.
Original file line number Diff line number Diff line change @@ -11,6 +11,5 @@ the data from ``CategoryType`` to also be validated.
11
11
Instead of using this option, you can also use the ``Valid`` constraint in
12
12
your model to force validation on a child object stored on a property.
13
13
14
-
15
-
14
+ .. include :: /reference/forms/types/options/_error_bubbling_hint.rst.inc
16
15
You can’t perform that action at this time.
0 commit comments