ReplicateAction in bulkActions

If i put the following under $table->actions() its fine but not in $table->bulkActions()
ReplicateAction::make()
    ->excludeAttributes(['author', 'uuid', 'servers_count', 'created_at', 'updated_at'])
    ->modal(false)
    ->beforeReplicaSaved(function (Egg $replica) {
        $replica->uuid = Str::uuid()->toString();
        $replica->name .= ' Copy';
        $replica->author = auth()->user()->email;
    })
    ->successRedirectUrl(fn (Egg $replica) => EditEgg::getUrl(['record' => $replica])),


No error logged it just halts and doesn't replicate the model.
3.2.124
Was this page helpful?