Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit7c1b2c3

Browse files
committed
Merge branch '2.3' into 2.4
2 parents3945d5f +55dbd0b commit7c1b2c3

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

‎reference/constraints/Valid.rst

Lines 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

Lines 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

Lines 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
Insteadof usingthis option, you can also use the ``Valid`` constraintin
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)

[8]ページ先頭

©2009-2025 Movatter.jp