In Twig template I check if a field has an error like this:
{% if form.points.get(\'errors\') is not empty %}
Is there any method like:
The right code is (for Symfony 3.4):
{% if form.vars.errors|length %}