Multi

Last updated: April 12th 2020

Unlike Single, You have to use a for loop to fetch the data for Multi. For fields like Checkboxes and Multi select field, You have an array data. To fetch variables, You have to loop through the array. You can use variables to fetch Label and other extra fields you have passed in JSON too.

Except for running a for loop, all the other process is same to fetch variables like Single.

Example:
{% for item in entry.multiSelect %}
    {{ item }}
    {{ item.getValue() }} <br>
    {{ item.getLabel() }} <br>
    {{ item.getExtras().slug }} <br>
{% endfor %} }}