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

fix(Designer): Fixed issue with array editor dynamic data #6221

Merged
merged 4 commits into from
Dec 31, 2024

Conversation

rllyy97
Copy link
Contributor

@rllyy97 rllyy97 commented Dec 5, 2024

Main Changes

Currently, if a user adds an additional parameter (typed as an array) that has dynamic data, that dynamic data will not load until the user saves and reloads the workflow.
This is because when we add the additional array parameter, it decides whether or not to load a combobox based on if there are options to show. If there are no options, it shows a string editor. The dynamic data fetch is a part of the combobox editor, so they never load the dynamic data options.

This pr adds a new isDynamic prop so that the array editor knows when to load a combobox in situations that hasn't loaded the dynamic data options.

Fixes #6154

array_dd_fix

@rllyy97
Copy link
Contributor Author

rllyy97 commented Dec 5, 2024

Holding until January

@rllyy97 rllyy97 enabled auto-merge (squash) December 31, 2024 19:49
@rllyy97 rllyy97 merged commit 4b2228d into main Dec 31, 2024
12 checks passed
@rllyy97 rllyy97 deleted the riley/array-dynamic-data branch December 31, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants