Skip to content

Commit 561d201

Browse files
Guillaume Royerweaverryan
Guillaume Royer
authored andcommitted
update collection.rst - add cascade_validation opt
It makes sense to describe cascade_validation option in collection documentation. `Valid` constraint does not suit all needs, especially when we have to set validation_groups for embed object/forms, and so cascade_validation should not be that "hidden".
1 parent 5c367b4 commit 561d201

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

reference/forms/types/collection.rst

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ forms, which is useful when creating forms that expose one-to-many relationships
2828
| | - `empty_data`_ |
2929
| | - `required`_ |
3030
| | - `mapped`_ |
31+
| | - `cascade_validation`_ |
3132
+-------------+-----------------------------------------------------------------------------+
3233
| Parent type | :doc:`form </reference/forms/types/form>` |
3334
+-------------+-----------------------------------------------------------------------------+
@@ -363,3 +364,5 @@ error_bubbling
363364
.. include:: /reference/forms/types/options/required.rst.inc
364365

365366
.. include:: /reference/forms/types/options/mapped.rst.inc
367+
368+
.. include:: /reference/forms/type/options/cascade_validation.rst.inc

0 commit comments

Comments
 (0)