bugy / script-server

Web UI for your scripts with execution management
Other
1.59k stars 247 forks source link

Default values for multiselect parameter #672

Closed marikadabra closed 1 year ago

marikadabra commented 1 year ago

Hi!

Maybe i'm just missing something but... is it possible to specify default values (from a script) in a multiselect type parameter with checkboxes ticked in ui combobox where default values returned from script match?

Anyway.. great work!

<3

bugy commented 1 year ago

Hi, yes, it's possible, just specify them as an array

MNeill73 commented 1 year ago

Yep, the parameter config for multiselect accepts a list of default values to check.

On Wed, May 17, 2023 at 10:59 AM marikadabra @.***> wrote:

Hi!

Maybe i'm just missing something but... is it possible to specify default values (from a script) in a multiselect type parameter with checkboxes ticked in ui combobox where default values returned from script match?

Anyway.. great work!

<3

— Reply to this email directly, view it on GitHub https://github.com/bugy/script-server/issues/672, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3HBI3XFYJWP3B5QXZMZPNTXGTRUNANCNFSM6AAAAAAYFHE47U . You are receiving this because you are subscribed to this thread.Message ID: @.***>

marikadabra commented 1 year ago

Hi, yes, it's possible, just specify them as an array

Sorry.. my mistake.. was specifying string not array. It worked! Thank you!