Accessing related $record(s) in hasMany repeaters

Hi all

I have a repeater that uses a hasMany relationship (via a pivot model). I need to access each item's record inside the header action closures. Any idea how I can do that?

Thanks!
Solution
If it’s before the record is saved you have to get it from the form state, if not it already exists on the record via the relationship.
Was this page helpful?