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:Jump to solution
thanks! Great!
(I used ->before(function (Title $record) { instead of mutateRecordDataUsing(function (Title $record) { because the mutateRecordDataUsing didn't change the replica)....
2 Replies
Solution
thanks! Great!
(I used ->before(function (Title $record) { instead of mutateRecordDataUsing(function (Title $record) { because the mutateRecordDataUsing didn't change the replica).