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

Multiselect field: allow multiple default values from script #585

Open
bugy opened this issue Oct 7, 2022 · 2 comments
Open

Multiselect field: allow multiple default values from script #585

bugy opened this issue Oct 7, 2022 · 2 comments

Comments

@bugy
Copy link
Owner

bugy commented Oct 7, 2022

At the moment, script server supports default value, which can be initialized by a script, e.g.
"default": { "script": "echo 123" }
will set default to 123

However, for a multiselect list, it will work only for a single value.
It should be possible to set multiple default values from script, if it's a multiselect parameter.
All values should newline separated

Reported by @MNeill73

@sbalakrishna
Copy link
Sponsor

Hi @bugy , please let me know how to use this feature?

@bugy
Copy link
Owner Author

bugy commented Aug 21, 2023

Hi @sbalakrishna, if a script returns new-line separated values, they will be treated as separate values, in case of a multiselect parameter type

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

No branches or pull requests

2 participants