Custom Action Class (DDD)

Is it possible to submit data from multiple panels in filament to a custom action class ? eg: when both admin and superadmin submits their data when creating a user it should go through the same action class. Action Class : CreateUser.php (This is decoupled from the HTTP layer)
Solution:
You could overwrite the submit method on the CreatePages to pass the data to that method.
Jump to solution
4 Replies
Solution
Dennis Koch
Dennis Koch16mo ago
You could overwrite the submit method on the CreatePages to pass the data to that method.
shashika
shashikaOP16mo ago
is it there in documentacion?
Dennis Koch
Dennis Koch16mo ago
I don't think there is an example for it. Look for the submit() method on CreatePage.
shashika
shashikaOP16mo ago
Tysm ❤️
Want results from more Discord servers?
Add your server