Skip to content

ForEach values written as array is discovered as both String and Array #8918

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

Open
anna-geller opened this issue May 22, 2025 · 1 comment
Open
Labels
area/backend Needs backend code changes area/frontend Needs frontend code changes bug Something isn't working

Comments

@anna-geller
Copy link
Member

Describe the issue

Kind of expected, as pebble expression is a string, but values defined as an array inline are an array

Image

TBD discuss if we swap the tabular display to radio-button style selection - @Nico-Kestra Ludo was thinking about a similar pattern like we had before on Boolean with three options shown side by side and if you pick one, you see a different input mask. no strong opinions if we need to change the current behavior, just to validate

Environment

  • Kestra Version: develop
@anna-geller anna-geller added bug Something isn't working area/backend Needs backend code changes area/frontend Needs frontend code changes labels May 22, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Issues May 22, 2025
@anna-geller
Copy link
Member Author

Next steps: @Nico-Kestra will add a design that makes it clear that user can only pick one of those options e.g. either a String or an Array of strings, i.e. user shouldn't arbitrarily switch between tabs as those different data types follow a different display:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/backend Needs backend code changes area/frontend Needs frontend code changes bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

1 participant