FilamentF
Filament2y ago
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(),
                        ]), 
Was this page helpful?