Closed
Description
Description
On longer forms it's a good idea to show validation errors twice: as a complete summary on top of the form, plus on each invalid field. Right now, by either setting error_bubbling
to true
or false
, you can only have one of these options, but not both: https://symfony.com/doc/current/reference/forms/types/form.html#error-bubbling
Possible implementation: At #9994 an option error_location
(or display_errors
) was discussed, with possible values self | parent | root
. If the value would be an array (instead of a string), you could opt for multiple locations.