Answer the question
In order to leave comments, you need to log in
Symfony2 Why are Class table inheritance not displaying errors in form fields?
Symfony 2.8.1
There is a basic entity: AdBase and its extension AdFlat entity.
For the AdFlat entity, the form AdFlatType is generated.
Asserts for AdBase and AdFlat in entity classes are specified.
But if you submit the form - there is no error in {{ form_errors(form.[field]) }} .
After specifying error_bubbling = true in the form builder for fields, errors are displayed only in {{ form_errors(form) }}, but there are no errors for the field.
What could be the problem?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question