© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•12mo ago•
1 reply
Martin Oscar

ReplicateAction in bulkActions

If i put the following under
$table->actions()
$table->actions()
its fine but not in
$table->bulkActions()
$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])),
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
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Separate bulkactions.
FilamentFFilament / ❓┊help
17mo ago
Align BulkActions
FilamentFFilament / ❓┊help
17mo ago
ReplicateAction Not Showing
FilamentFFilament / ❓┊help
2y ago
ReplicateAction. How save relationship
FilamentFFilament / ❓┊help
3y ago