F
Filament3mo ago
Lim

Save relationship first before creating model

So I need to save the relationship first then create a model and sync it
No description
5 Replies
Hussain4real
Hussain4real3mo ago
use the beforeCreate hook alternatively you can also use the handleRecordCreation method
Lim
Lim3mo ago
@Hussain4real is there a reason why I cant get the other inputs?
Hussain4real
Hussain4real3mo ago
what do you mean? dd $data to see if it's in beforeCreat() hook, dd $this->data
Want results from more Discord servers?
Add your server
More Posts