Change some fields during copying
Is there any way we can customize some fields while cloning.
As mention on https://github.com/BKWLD/cloner/issues/18 We can customize the fields with onCloning method, But is there any way we can completely override some fields based on some inputs.
Use case:
We have predefined template in the system with a column type=system-defined, when user clone the template it should store type=user-defined,
But when we clone from admin panel it should store type=system-defined.
It means we need to pass some fields to onCloning methods based on user actions/inputs.
Same issue here, wanna customize some fields while cloning with dinamic data (eg: foreign key)..
Same issue here