Resource repeater save record field inside relation manager

Hello, I have a resource with a repeater. Inside the repeater I have a field that I save using mutate:
->mutateRelationshipDataBeforeCreateUsing(function (array $data, Get $get): array {
   $data['ticket_id'] = $get('ticket_id');
   return $data;
})

Now I want to use the resource within a relationship manager, but I don't know how to pass the ticket_id, currently it gives an error that it cannot be null.
Was this page helpful?