File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
reference/forms/types/options Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,10 @@ Here are the rules for the left and the right side of the mapping:
3636 properties by dots. For example: ``addresses[work].matchingCityAndZipCode``;
3737* The right side contains simply the names of fields in the form.
3838
39- Additionally, you can set the left side to dot (``.``), which refers to any
40- unmapped property or method needing validation to the given nested field instead
41- of bubbling them to the form::
39+ By default, errors for any property that is not mapped will bubble up to the
40+ parent form. You can use the dot (``.``) on the left side to map errors of all
41+ unmapped properties to a particular field. For instance, to map all these
42+ errors to the ``city`` field, use::
4243
4344 $resolver->setDefaults(array(
4445 'error_mapping' => array(
You can’t perform that action at this time.
0 commit comments