Global listeners for form events create/edit/deleted?
Is there a way of listening for all changes in Filament?
E.g to save doing this on every action
4 Replies
Is it a --simple resource?
Both types wanting it to work globally across all resources
I'm not sure, but you can try to use ->configureUsing() inside a service provider
Thanks I'll give that a try.
Wow surprised just how well this worked for most actions. I'm finding not all actions call the
after
event.
So far found issues with:
1. Standard resource after
event is never called for CreateAction and DeleteBulkAction
2. Simple resource CreateAction after
event is only called when you click 'Create & create another'.