class DetailUserVerificationRequest extends Page implements HasInfolists, HasActions{ use InteractsWithInfolists, InteractsWithActions; [other code] public function acceptAction(): Action { return Action::make('Konfirmasi') ->outlined() ->icon('heroicon-m-check') ->requiresConfirmation() ->action(fn () => $this->testCase()); } public function testCase() { dd($this->request); }}
<x-filament-panels::page> <div class="flex gap-3"> {{ $this->acceptAction }} </div> [other code] <x-filament-actions::modals /></x-filament-panels::page>