MultiSelect Field: No way to stop default selections from over writing replicated selections #4489
Unanswered
electrictomcat
asked this question in
Q&A
Replies: 1 comment 3 replies
-
You should override the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
I am using resolveUsing() to populate the values of a MultiSelect field when updating a resource, and I am also using different logic in default() when creating a new resource.
When you replicate a resource the default values of the MultiSelect field will over-write the replicated values.
This seems to occur because both resolveUsing and default will run for replication.
Can there be a toggle on default() to say notOnReplicate()?
Detailed steps to reproduce the issue on a fresh Nova installation:
Create a MultiSelect field using both resolveUsing and default.
Duplicate a resource using that field, and the default values will override the replicated values.
Beta Was this translation helpful? Give feedback.
All reactions