justanotherC
justanotherC
FFilament
Created by justanotherC on 11/22/2024 in #❓┊help
How to add custom action button on edit modal form
Got it! ->extraModalFooterActions(function($record) {
9 replies
FFilament
Created by justanotherC on 11/22/2024 in #❓┊help
How to add custom action button on edit modal form
Getting the error: Typed property Filament\Forms\Components\Actions\Action::$component must not be accessed before initialization
9 replies
FFilament
Created by justanotherC on 11/22/2024 in #❓┊help
How to add custom action button on edit modal form
Im trying the following:
->extraModalFooterActions([

Action::make('open documentation')
->label('Open documentatie') //
->url(fn($record) => 'https://somesharepoint/Order_' . $record->ordernummer . '/Forms/AllItems.aspx')
->icon('heroicon-o-folder-open')
->color('success')
->openUrlInNewTab(),
])
->extraModalFooterActions([

Action::make('open documentation')
->label('Open documentatie') //
->url(fn($record) => 'https://somesharepoint/Order_' . $record->ordernummer . '/Forms/AllItems.aspx')
->icon('heroicon-o-folder-open')
->color('success')
->openUrlInNewTab(),
])
9 replies
FFilament
Created by justanotherC on 11/22/2024 in #❓┊help
How to add custom action button on edit modal form
Thanks this is a step in the right direction. Any options to combine this with the record? fn($record)
9 replies