File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ object and all sub-objects associated with it.
99| Applies to | :ref: `property or method <validation-property-target >` |
1010+----------------+---------------------------------------------------------------------+
1111| Options | - `traverse `_ |
12- | | - `message `_ |
12+ | | - `deep `_ |
1313+----------------+---------------------------------------------------------------------+
14- | Class | :class: `Symfony\\ Component\\ Validator\\ Constraints\\ Type ` |
14+ | Class | :class: `Symfony\\ Component\\ Validator\\ Constraints\\ Valid ` |
1515+----------------+---------------------------------------------------------------------+
1616
1717.. include :: /reference/forms/types/options/_error_bubbling_hint.rst.inc
@@ -267,9 +267,11 @@ If this constraint is applied to a property that holds an array of objects,
267267then each object in that array will be validated only if this option is set
268268to ``true ``.
269269
270- message
271- ~~~~~~~
270+ deep
271+ ~~~~
272272
273- **type **: ``string `` **default **: ``This value should be true. ``
273+ **type **: ``boolean `` **default **: ``false ``
274274
275- This is the message that will be shown if the value is false.
275+ If this constraint is applied to a property that holds an array of objects,
276+ then each object in that array will be validated recursively if this option is set
277+ to ``true ``.
You can’t perform that action at this time.
0 commit comments