How do you iterate thru a webform checkbox array like so :
Checkboxes_name :
☒ option 1
☒ option 2
[webform_submission:values:checkboxes_name_:value]
print :
option 1, option 2
I would like to have
- option 1
- option 2
I tried something like this and other variants, but no luck :
<ul{{ webform_token('[webform_submission:values:checkboxes_name_', webform_submission)}}>
{% for item in webform_submission.values.checkboxes_name_ %}
<li>{{ item.value }}</li>
{% endfor %}
</ul>
Thanks for your help