actions
Delete
Remove a card's record with optional confirmation.
use Asmit\AdvancedKanban\RecordAction\DeleteAction;
use Filament\Support\Icons\Heroicon;
DeleteAction::make('delete')
->icon(Heroicon::OutlinedTrash)
->requiresConfirmation()
->color('danger')
DeleteAction extends Filament's delete action and wires the record from the card context. Chain
requiresConfirmation() and color('danger') the same way you would on a table action.
See also
- Overview — registering record actions
- Action groups — tuck delete behind a "More" menu