footerActions run when modal open and close
And both actions run when I click one of them. Even with out the
This is in a Relationanager :
->schema section.This is in a Relationanager :
->schemapublic function form(Form $form): Form
{
return $form->schema(static::formSchema());
}
public static function formSchema(): array
{
return [
Split::make([
Section::make()
->schema([
static::getContactInboxConversation(),
])
->footerActions([
Action::make('previous_action')
->action(logger('previous_action')),
Action::make('next_action')
->action(logger('next_action')),
])
->extraAttributes(['class'=>'no-padding'])
->id('reviewSection'),
])
];
}action->action(fn () => logger('previous_action'))You can also use a section without a header, which just wraps the components in a simple card:. and it shows an example ofaction method->action(fn () => logger('previous_action'))You can also use a section without a header, which just wraps the components in a simple card:use Filament\Forms\Components\Section;
Section::make()
->schema([
// ...
])public function form(Form $form): Form
{
return $form->schema(static::formSchema());
}
public static function formSchema(): array
{
return [
Split::make([
Section::make([
static::getContactInboxConversation(),
])
->footerActions([
Action::make('previous_action')
->action(logger('previous_action')),
Action::make('next_action')
->action(logger('next_action')),
])
->extraAttributes(['class'=>'no-padding'])
->id('reviewSection'),
])
];
}