How can I display an entire list in html?

I have a basic for loop and for each object in that for loop I want to display the contents of a list that is attached to each object. I tried {exampleObject.exampleList} but that didn't work and I've also tried {exampleObject.exampleList[0]} but that didn’t work either. I even tried using a toString on the list but that doesn’t help either.

I feel like this should be fairly straightforward but I haven’t found anything relevant on Google or the Aurelia docs. Maybe I need to loop over the list of each object as well?

1 Like

Never mind, I found out what the issue was. Since I am using mock data I was modifying the list but in the wrong place and as a result the list was always empty when it got to the html file.

2 Likes