We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c02348e commit 140e4f4Copy full SHA for 140e4f4
validation/severity.rst
@@ -155,7 +155,7 @@ so that the severity is added as an additional HTML class:
155
{%- if errors|length > 0 -%}
156
<ul>
157
{%- for error in errors -%}
158
- <li class="{{ error.constraint.payload.severity ?? '' }}">{{ error.message }}</li>
+ <li class="{{ error.cause.constraint.payload.severity ?? '' }}">{{ error.message }}</li>
159
{%- endfor -%}
160
</ul>
161
{%- endif -%}
0 commit comments