You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commits
-------
0c70a41 [Form] Made validation of form children configurable. Set the option "cascade_validation" to `true` if you need it.
Discussion
----------
[Form] Made validation of form children configurable
Bug fix: yes
Feature addition: yes
Backwards compatibility break: yes
Symfony2 tests pass: yes
Fixes the following tickets: #797
Todo: adapt documentation

Child forms now aren't validated anymore by default. This is not a problem as long as @Valid constraints are properly put in your model. If you want to enable cascading validation, for example when there is no connection between the parent and the child model, you can set the option "cascade_validation" in the parent form to true.
This change is not backwards compatible, but from my estimation the break should not affect many applications.
---------------------------------------------------------------------------
by kriswallsmith at 2012-01-16T19:59:25Z
:+1:
0 commit comments