diff --git a/templates/_display/templates/_includes/forms/checkboxGroup.html b/templates/_display/templates/_includes/forms/checkboxGroup.html index 2fa6dd9..f12f17a 100755 --- a/templates/_display/templates/_includes/forms/checkboxGroup.html +++ b/templates/_display/templates/_includes/forms/checkboxGroup.html @@ -2,6 +2,10 @@ {%- set values = (values is defined ? values : []) %} {%- set name = (name is defined and name ? name~'[]' : null) %} +{% if name is defined and name and not options|length %} + +{% endif -%} + {%- for key, option in options %} {%- set optionLabel = (option.label is defined ? option.label : option) %} {%- set optionValue = (option.value is defined ? option.value : key) -%}