Is it possible to get ownerRecord directly in mutateFormDataUsing?
I have the following code and was wondering if it's possible to auto-inject $ownerRecord as an argument or my example is the only way right now.
1 Reply
This the only way. It’s documented https://filamentphp.com/docs/2.x/admin/resources/relation-managers#accessing-the-owner-record