I can't display all form errors with form_errors(form). But I can display them one by one.
Here is my entities with the constraints :
Locale
property "locale" (@Assert\Length) it's a string
LocaleTranslation extends Translation
property "locale" (@Assert\Valid) (it's a ManyToOne with Locale) it's an object
abstract class Translation value (@Assert\NotBlank) it's a string
My form type is based on LocaleTranslation.
This code works :
{{ form_errors(form.locale.locale) }}
{{ form_errors(form.value) }}
But not this one :
{{ form_errors(form) }}
Any idea ?