Trying to getting data from Relationship

Hi, trying to use ->mutateFormDataUsing in headerActions of a relation that I have from another table, I see that I can only obtain with the variable $data, the elements of the form but not of the related element. Is there any way to access the "id" of the element from which I am creating the relationship?
tofu
Thanks for any help!!
Was this page helpful?