We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15185ab commit b52996dCopy full SHA for b52996d
validation/severity.rst
@@ -148,8 +148,8 @@ so that the severity is added as an additional HTML class:
148
{%- if errors|length > 0 -%}
149
<ul>
150
{%- for error in errors -%}
151
- {% if error.cause.constraint.payload.severity is defined %}
152
- {% set severity = error.cause.constraint.payload.severity %}
+ {% if error.constraint.payload.severity is defined %}
+ {% set severity = error.constraint.payload.severity %}
153
{% endif %}
154
<li{% if severity is defined %} class="{{ severity }}"{% endif %}>{{ error.message }}</li>
155
{%- endfor -%}
0 commit comments