F
Filamentβ€’7mo ago
chrispage1

Callback on resource creation in modal

Hi, I'm creating a resource and rather than using a dedicated create page I'm using a modal window. I need to manipulate the record once it's been created but I can't find a way to do it. I know there are hooks on the CreateRecord but I'm not using that page any more as it's just a modal. Help please!
3 Replies
jonquihote
jonquihoteβ€’7mo ago
you should be able to chain ->after in the CreateAction in your simple resource
chrispage1
chrispage1OPβ€’7mo ago
That's amazing thank you! πŸ™ Filament really does have everything, it's just a case of finding it!
Want results from more Discord servers?
Add your server