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:
That method does not exist. I typically do {% if form.points.vars.errors|length %}.
{% if form.points.vars.errors|length %}