Customizing the creation process of relationship
I found in docs that I can customize the creation process of resources. How to get relationship data in the handleRecordCreate method? I want to use repository pattern
5 Replies
Can you share a bit more context on how your form is setup? What's the relationship, etc.
This is a standard User Model with Role Relation from Spatie Permissions.
Solution
Try
dd($this->data)
insteadYeah, that works. Maybe you know how to customize the delete process?
The delete process is all contained in the action I think