From 561d20177bd860901e60691843836a864e4abe81 Mon Sep 17 00:00:00 2001 From: Guillaume Royer Date: Tue, 28 Jan 2014 18:48:09 +0100 Subject: [PATCH] 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". --- reference/forms/types/collection.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/reference/forms/types/collection.rst b/reference/forms/types/collection.rst index 9c72ed2fe98..1dfcc037f35 100644 --- a/reference/forms/types/collection.rst +++ b/reference/forms/types/collection.rst @@ -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 ` | +-------------+-----------------------------------------------------------------------------+ @@ -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