© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
4 replies
Sael

Multiple create action

So as we all know, there is a default create action on the top of the table. However, i want to add another create action with different inputs. Is that possible?
Here i s what i tried so far. it did create two buttons, but the form is the same, how can i change the form of the new button?
protected function getHeaderActions(): array
{
return [
Actions\CreateAction::make('New2')
->label('Target'),
Actions\CreateAction::make('New1')
->modal(Product::class)
->form([
TextInput::make('title')
->required()
->maxLength(255),
]),


];
}
Solution
Thanks, resolved it by using actions from pages. Had to create my own actions, and handle the logic of saving.
Jump to solution
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

create action
FilamentFFilament / ❓┊help
2y ago
iterate multiple actions in action group
FilamentFFilament / ❓┊help
2y ago
Action after Create
FilamentFFilament / ❓┊help
3y ago
Action after "Create"
FilamentFFilament / ❓┊help
3y ago