Repeater Component only showing one record despite HasMany relationship
Hi Guys!
I have a question regarding the repeater component that has a relationship. The way I have it setup, "works" but its only showing one entry(the last one), and not all the entries.
So I have a repeater in my waybillResource:
In my waybill model:
And in my contents model:
It looks like both records are getting fetched, since if I dump the data in the beforeFill() method, I can see 2 records present:
Am I missing something obvious here? How do I get both records to show up in the repeater?
Any help would be greatly appreciated!
0 Replies