Skip to content

Commit

Permalink
Updated UPGRADED file to reflect changes merged in e056480
Browse files Browse the repository at this point in the history
  • Loading branch information
webmozart committed Jan 16, 2012
1 parent e056480 commit 43293f4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions UPGRADE-2.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,12 @@ UPGRADE FROM 2.0 to 2.1
public function isEqualTo(UserInterface $user) { /* ... */ }
// ...
}
* Form children aren't automatically validated anymore. That means that you
explicitely need to set the `Valid` constraint in your model if you want to
validate associated objects.

If you don't want to set the `Valid` constraint, or if there is no reference
from the data of the parent form to the data of the child form, you can
enable BC behaviour by setting the option "cascade_validation" to `true` on
the parent form.

0 comments on commit 43293f4

Please sign in to comment.