© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
9 replies
Mansoor Khan

How to add two Create Form Actions

I have a resource and inside create page I am defining create form action in header actions. But the action does not work for some reason, however the default form action works as expected.

following action does not work:

class CreateCategory extends CreateRecord
{
    protected static string $resource = CategoryResource::class;

    protected function getHeaderActions(): array
    {
        return [
            $this->getCreateFormAction(),
        ];
    }
}
class CreateCategory extends CreateRecord
{
    protected static string $resource = CategoryResource::class;

    protected function getHeaderActions(): array
    {
        return [
            $this->getCreateFormAction(),
        ];
    }
}


Am i missing something or doing something wrong here?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

add actions to form section
FilamentFFilament / ❓┊help
3y ago
Unable to add form actions to modal
FilamentFFilament / ❓┊help
2y ago
Form Actions (Create and Cancel)
FilamentFFilament / ❓┊help
2y ago
How to place form actions on header actions
FilamentFFilament / ❓┊help
3y ago