F
Filament11mo 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(),
]),
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(),
]),
2 Replies
Solution
core
coreOP11mo ago
great thanks
Want results from more Discord servers?
Add your server