© 2026 Hedgehog Software, LLC

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

How to place Action Button on Resource Form by the Delete Button?

I have the following Action in side a form, how can I add the button along side the Delete button?
    return $form->schema([
                Forms\Components\Group::make()
                    ->schema([
                        
                        Forms\Components\Section::make('Recipe Info')
                            ->schema([
                                Forms\Components\Actions::make([
                            Forms\Components\Actions\Action::make('export PDF')
                                ->label('PDF')
                                ->color('success')
                                ->url(fn (Recipe $record) => route('pdf', $record))
                                ->openUrlInNewTab(),
                        ]), 
    return $form->schema([
                Forms\Components\Group::make()
                    ->schema([
                        
                        Forms\Components\Section::make('Recipe Info')
                            ->schema([
                                Forms\Components\Actions::make([
                            Forms\Components\Actions\Action::make('export PDF')
                                ->label('PDF')
                                ->color('success')
                                ->url(fn (Recipe $record) => route('pdf', $record))
                                ->openUrlInNewTab(),
                        ]), 
Solution
You mean in de Edit page in the header?
Then use : https://filamentphp.com/docs/3.x/panels/pages#header-actions
Pages - Panel Builder - Filament
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

Hide the Delete button on Resource
FilamentFFilament / ❓┊help
3y ago
Adding action to a form next to the delete button
FilamentFFilament / ❓┊help
3y ago
How to change resource form opened by edit action on a relationmanager
FilamentFFilament / ❓┊help
17mo ago
Add action button to form
FilamentFFilament / ❓┊help
3y ago