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 f36e023 commit f69f68fCopy full SHA for f69f68f
validation/severity.rst
@@ -155,8 +155,8 @@ so that the severity is added as an additional HTML class:
155
{%- if errors|length > 0 -%}
156
<ul>
157
{%- for error in errors -%}
158
- {% if error.cause.constraint.payload.severity is defined %}
159
- {% set severity = error.cause.constraint.payload.severity %}
+ {% if error.constraint.payload.severity is defined %}
+ {% set severity = error.constraint.payload.severity %}
160
{% endif %}
161
<li{% if severity is defined %} class="{{ severity }}"{% endif %}>{{ error.message }}</li>
162
{%- endfor -%}
0 commit comments