Skip to content

Commit

Permalink
update collection.rst - add cascade_validation opt
Browse files Browse the repository at this point in the history
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".
  • Loading branch information
Guillaume Royer authored and weaverryan committed Feb 4, 2014
1 parent 5c367b4 commit 561d201
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions reference/forms/types/collection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ forms, which is useful when creating forms that expose one-to-many relationships
| | - `empty_data`_ |
| | - `required`_ |
| | - `mapped`_ |
| | - `cascade_validation`_ |
+-------------+-----------------------------------------------------------------------------+
| Parent type | :doc:`form </reference/forms/types/form>` |
+-------------+-----------------------------------------------------------------------------+
Expand Down Expand Up @@ -363,3 +364,5 @@ error_bubbling
.. include:: /reference/forms/types/options/required.rst.inc

.. include:: /reference/forms/types/options/mapped.rst.inc

.. include:: /reference/forms/type/options/cascade_validation.rst.inc

0 comments on commit 561d201

Please sign in to comment.