In the Twig template, I check if the field has an error, for example:
{% if form.points.get('errors') is not empty %}
Is there any method like:
{% if form.points.hasErrors() %}
make it easier? This is not a big difference, but if I cannot make it easier, why not.
symfony twig symfony-forms
Hadi Di Wao Jan 18 2018-12-18T00: 00Z
source share