Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change some fields during copying #31

Open
hemratna opened this issue Mar 10, 2020 · 2 comments
Open

Change some fields during copying #31

hemratna opened this issue Mar 10, 2020 · 2 comments

Comments

@hemratna
Copy link

Is there any way we can customize some fields while cloning.
As mention on #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.

@dwicahyo-dev
Copy link

dwicahyo-dev commented Jan 13, 2021

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

@vladnicu
Copy link

vladnicu commented Jul 5, 2021

Same issue here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants