Add "Save/Create and Back" beside "Save/Create" button in edit and create page

I know how to change redirect url after submitting the form, but how to create another button for redirect to list after submitting the form?
2 Replies
Patrick Boivin
Check how getFormActions() is done in CreateRecord : https://github.com/filamentphp/filament/blob/2.x/packages/admin/src/Resources/Pages/CreateRecord.php#L140-L147 If you copy this method in your own CreateItem class, you can insert a custom action to do what you want.
IndomieRendang
IndomieRendangOP2y ago
I think you're right... Thanks for the suggestion...
Want results from more Discord servers?
Add your server