Commit 2c8d9795 authored by Johan Cwiklinski's avatar Johan Cwiklinski
Browse files

required may not be defined

parent 62305e83
......@@ -7,7 +7,7 @@
{% else %}
{% set component_class = 'field' %}
{% endif %}
{% if entry.required %}
{% if entry.required ?? false %}
{% set component_class = component_class ~ ' required' %}
{% endif %}
{{ parent() }}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment