Duplicating record before using inside of editOptionForm.
Hi all,
I would like to duplicate a record before opening it in the modal and editing it using the editOptionForm.
I have been playing around with all the various lifecyclehooks of the editOptionAction -> $action, but without any success at the moment.
I can't seem to find how to pass the newly created record to the Component of the Edit action / form?
Current code (not working):
Anyone have any ideas?
Thanks!
3 Replies
Some more tries I did whitout success:
Thanks for the respons! Will try it out later!