© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
4 replies
Martin Branches

Copy the data of all fields to an new entry

I have a BookResource and would like to have a 'copy' button (next to the Edit button in the list view) that copies all data and creates a new book entry.
can't find something like that, anyone any ideas? Thanks!
Solution
thanks! Great!
(I used ->before(function (Title $record) { instead of mutateRecordDataUsing(function (Title $record) { because the mutateRecordDataUsing didn't change the replica).
Jump to solution
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

Copy contents of first repeater fields to another
FilamentFFilament / ❓┊help
3y ago
Copy row data to another database table.
FilamentFFilament / ❓┊help
3y ago
Post hidden fields to reset data
FilamentFFilament / ❓┊help
15mo ago