Get repeated record inside RepeatableEntry
Hi, I'm using infolist for my View page. I'm using RepeatableEntry to list my hasMany relationship. Inside the repeater, I might need to access repeated model. For actions, generating urls etc. how can I get current repeated model?
6 Replies
Can you provide your code please.
sure,
I might use fillForm() for actions, but I'm not sure how can I get the proper data
I am not 100% on that use tbh, but usually you use $record within actions, for that records data
$record returns top level model, not related model.
I think you need to groupm the content with a group or card, and set a relationship within that card to load those details
can you provide me some code? If I can load data through my model, it would be possible.