Placeholder with repeater
I'd want to display repeater values in layout placeholders. Is there a method to loop through repeaters and display their values in the summary section? (Proper list format)
Code
10 Replies
What do you want to see under Ingredients? Can you give me an example of the output?
I want to iterate the repeater in the form of a list items
Like this?
Yes
Something like this. You can adjust it to what you need:
Working perfectly, but it constitutes a major security risk⚠️
Obviously I don't know anything about your app, who uses this form, etc. I can't comment on what's really secure or not.
I think you know what you're doing at this point 😜
I shared it because someone else could utilize it in the future, nevertheless I sincerely appreciate your help.
You make a good point, and actually I think this may be stretching the Placeholder a bit. I think a
View
component (to render a real Blade view) may be a better fit for this use case. There would be no need for string concatenation and the content would be escaped by default.