File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -145,9 +145,9 @@ each with a single field.
145
145
146
146
**type **: ``string `` **default **: ``This value is already used. ``
147
147
148
- The message that's displayed when this constraint fails. This message is always
149
- mapped to the first field causing the violation, even when using multiple fields
150
- in the constraint.
148
+ The message that's displayed when this constraint fails. This message is by default
149
+ mapped to the first field causing the violation. When using multiple fields
150
+ in the constraint, the mapping can be specified in the ` errorPath `_ property .
151
151
152
152
Messages can include the ``{{ value }} `` placeholder to display a string
153
153
representation of the invalid entity. If the entity doesn't define the
You can’t perform that action at this time.
0 commit comments