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 Koch2y ago
You could overwrite the submit method on the CreatePages to pass the data to that method.
shashika
shashikaOP2y ago
is it there in documentacion?
Dennis Koch
Dennis Koch2y ago
I don't think there is an example for it. Look for the submit() method on CreatePage.
shashika
shashikaOP2y ago
Tysm ❤️

Did you find this page helpful?