Show form error messages for collection entry
After #5075 error messages are not rendered anymore. This patch will show them, restoring the previous "design".
We could manually render the form errors and maybe even show some info in the accordion tab, but this is out of scope for now.
If we did that change to fix some bug ... if we revert it, the bug will happen again. What can we do here?
This PR does not change the original fix.
When defining the row you need to take care of rendering all the widget components. By making the change in #5075 the row now is missing the errors. With this PR we basically render the error block as well.
See https://symfony.com/doc/5.4/form/form_customization.html for what the form row should/can contain.
We could also add the {{- form_errors(form) -}} to the collection_entry_row block for the same effect
@javiereguiluz any chance you had some time to look into this ?
@javiereguiluz anything new regarding this issue ?