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
2 Replies
Solution
Martin Branches
Martin Branches11mo ago
thanks! Great! (I used ->before(function (Title $record) { instead of mutateRecordDataUsing(function (Title $record) { because the mutateRecordDataUsing didn't change the replica).
Want results from more Discord servers?
Add your server