I am using the kirby builder plugin https://github.com/TimOetting/kirby-builder
and I want to include the list field https://github.com/TimOetting/kirby-list-field.
My issue is, that I only can add one item.
My code looks like this for the module:
<div class="section"> <p class="sectionHeader sans-xs-b"><?= $data->moduleintro()->kt() ?></p> <ul class="sectionList sans-xs"> <?php foreach($data->modulelist()->toStructure() as $term): ?> <li><?= $data->modulelist($term) ?></li> <?php endforeach ?> </ul> </div>
So maybe anyone has an idea how to solve this.
Thanks for any help