How to add custom action button on edit modal form
How to add a custom button on the edit form? (modal)?
5 Replies
use the
->extraModalFooterActions()
Thanks this is a step in the right direction. Any options to combine this with the record?
fn($record)
Im trying the following:
What do you mean about combine with the record? The code you sent looks good.
Getting the error:
Typed property Filament\Forms\Components\Actions\Action::$component must not be accessed before initialization
Solution
Got it!
->extraModalFooterActions(function($record) {