Looping through a set

Hello guys. So I'm trying to loop over a set (called "modules_items") that has two field types: a textarea called "feature_title" and a bard field called "feature_description".

Now in the template I'm trying to loop over the "modules_items" like this:

 {{ modules_items }}
   {{ feature_title }}
   {{ feature_description }}
 {{ /modules_items }}

I removed the tailwind bit from the code block above but basically I'm displaying a box with a title and a description.

Currently, I have two items in the {{ modules_items }} set and I can display them on the page it's just a third, an empty box is generated after the two items are shown correctly.

Any thoughts?

Answered by Marian Pop!
>>>>>>> Answered <<<<<<<
1 Reply
1 Follower