File tree 1 file changed +8
-6
lines changed 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.
9
9
| Applies to | :ref: `property or method <validation-property-target >` |
10
10
+----------------+---------------------------------------------------------------------+
11
11
| Options | - `traverse `_ |
12
- | | - `message `_ |
12
+ | | - `deep `_ |
13
13
+----------------+---------------------------------------------------------------------+
14
- | Class | :class: `Symfony\\ Component\\ Validator\\ Constraints\\ Type ` |
14
+ | Class | :class: `Symfony\\ Component\\ Validator\\ Constraints\\ Valid ` |
15
15
+----------------+---------------------------------------------------------------------+
16
16
17
17
.. 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,
267
267
then each object in that array will be validated only if this option is set
268
268
to ``true ``.
269
269
270
- message
271
- ~~~~~~~
270
+ deep
271
+ ~~~~
272
272
273
- **type **: ``string `` **default **: ``This value should be true. ``
273
+ **type **: ``boolean `` **default **: ``false ``
274
274
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