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:Jump to solution
You could overwrite the submit method on the CreatePages to pass the data to that method.
4 Replies
Solution
You could overwrite the submit method on the CreatePages to pass the data to that method.
is it there in documentacion?
I don't think there is an example for it. Look for the
submit()
method on CreatePage.Tysm ❤️