actions
Custom actions
Build your own record actions with closures, URLs, or Filament action configuration.
Use Asmit\AdvancedKanban\RecordAction\Action when a built-in action does not fit. The record is
available in your closure:
use Asmit\AdvancedKanban\RecordAction\Action;
Action::make('view')
->label('View')
->icon('heroicon-o-eye')
->action(fn ($record) => $this->viewTask($record))
->openUrlInNewTab()
Action extends Filament's action class and adds kanban context — the board instance, the card's
record key in $arguments['record'], and a refresh after the action runs when needed.
See also
- Overview — registering record actions
- Action groups — collapse custom actions behind a menu
- Record infolist — actions inside the card body