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:
36
36
properties by dots. For example: ``addresses[work].matchingCityAndZipCode``;
37
37
* The right side contains simply the names of fields in the form.
38
38
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::
42
43
43
44
$resolver->setDefaults(array(
44
45
'error_mapping' => array(
You can’t perform that action at this time.
0 commit comments