script-server icon indicating copy to clipboard operation
script-server copied to clipboard

Multiselect field: allow multiple default values from script

Open bugy opened this issue 2 years ago • 2 comments

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

bugy avatar Oct 07 '22 19:10 bugy

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

sbalakrishna avatar Aug 20 '23 18:08 sbalakrishna

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

bugy avatar Aug 21 '23 09:08 bugy