Forum

Thread tagged as: Problem, Error

Repeaters Disappearing on Save

I have a set of repeaters:

<perch:repeater id="serviceList" label="Service List">
    <perch:before><ul class="serviceList"></perch:before>
            <li><perch:content type="text" label="Service" /></li>
    <perch:after></ul></perch:after>
</perch:repeater>

The admin area shows the UI and allows me to add items, however when hitting save they vanish.

Any ideas what might be causing this?

Tony Astley

Tony Astley 0 points

  • 4 years ago

Found the problem, I had missed the ID attribute off the perch:content tag within the repeater. Added an ID and works fine.

Rachel Andrew

Rachel Andrew 394 points
Perch Support

Yes - the ID is how Perch identifies the content.