cloner icon indicating copy to clipboard operation
cloner copied to clipboard

Change some fields during copying

Open hemratna opened this issue 6 years ago • 2 comments

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.

hemratna avatar Mar 10 '20 12:03 hemratna

Same issue here, wanna customize some fields while cloning with dinamic data (eg: foreign key)..

dwicahyo-dev avatar Jan 13 '21 13:01 dwicahyo-dev

Same issue here

vladnicu avatar Jul 05 '21 06:07 vladnicu