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!
Solution:Jump to solution
is this what you need?
https://filamentphp.com/docs/3.x/actions/prebuilt-actions/create#lifecycle-hooks...
3 Replies
Solution
you should be able to chain
->after
in the CreateAction
in your simple resourceThat's amazing thank you! π Filament really does have everything, it's just a case of finding it!