SelectAction in table header not working

->headerActions([
SelectAction::make('changeConnection')->label('Change Connection')
->options(collect($this->connections)->pluck('name','id'))
->action(function(){
dd(546456);
}),
Action::make('test')->label('Test')->action(fn () => dd(3432))
])
->headerActions([
SelectAction::make('changeConnection')->label('Change Connection')
->options(collect($this->connections)->pluck('name','id'))
->action(function(){
dd(546456);
}),
Action::make('test')->label('Test')->action(fn () => dd(3432))
])
Test action works fine. When I try changing the SelectAction nothing happens. Its in a custom page.
3 Replies
Antea
Antea2w ago
I dont think a SelectAction exists in filament
thedangler
thedanglerOP2w ago
It works... it renders it properly. Even when you make a change it fires off a livewire post. Just the action doesn't do anything
Dennis Koch
Dennis Koch5d ago
Its in a custom page.
Can you share that page view? Does it use <x-filament-panels::page>?

Did you find this page helpful?