Clone record with relationship table
Hi all, I have an application with orders and orderitems models. I want to duplicate an order using the replicate action from the table view. When I do that, I cant replicate the data from the order table but it doesnt replicate the data from the orderitems table. Is there a way to do this? a plug in or something similar? Thanks for your help
2 Replies
maybe something like this
for more
https://filamentphp.com/docs/3.x/actions/prebuilt-actions/replicate#lifecycle-hooks
Thanks for the info. Will try this solution and follow up