sebastienros/fluid

Fluid prints nothing inside for ..in loop

adelmurad24 opened this issue · 2 comments

Hello,

I can render and print normally outside a loop, but inside a loop, I get the html structure repeated by the loop and by a number of times equals the number of items in the collection, but fluid replaced {{itemLine.Name}} with nothing.

Please check the attached photos for better understanding.
Thanks in advance

You need to register the types of the models you want to bind.

See doc here: https://github.com/sebastienros/fluid#allow-listing-a-specific-type

Thanks, that resolved the issue. ☺♥