Thread tagged as: Problem, Error, Blog

YouTube repeater will not delete from blog

I've got the following repeater in post.html to add one or more videos to a post.

<perch:if exists="vids">
<perch:repeater id="vids" label="YouTube Videos" order="5">
<iframe width="560" height="315" src="<perch:blog id="video" type="text" label="YouTube Video" title="true" help="Add a YouTube embed URL e.g." />" frameborder="0" allowfullscreen></iframe>

However if a video has been added it can't be deleted. Adding a second or third delete fine. It's only whatever is the last one that cannot delete.

This same code used as perch:content works perfectly on other pages and deletes without a problem.

Is this a bug or is the template wrong.

David Owen

David Owen 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

We've got this logged as an issue - I don't think it's anything to do with the YouTube field type, it sounds like a problem deleting the last item in a repeater in Blog.

OK thanks. At least it's not me.

Although I'm not using the YouTube field type.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok. That makes no difference.

Hi Was there a fix for this I am having exactly the same issue but with an image repeater. (I am using the latest perch)