Filament table action using custom action

   public static function table(Table $table): Table
    {
        return $table
         ->actions([
                    Tables\Actions\Action::make('custom_redirect')
                    ->action(function (array $data, Component $livewire) {
                        $livewire->redirect(InvoiceResource::getUrl('index'), navigate:true);
                    }):
                   

Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *