You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In current versions of Stackstorm, any array type input parameter is displayed in the UI as a text box that requires comma separated values.
If the input parameter type is enum however, I see that it displays in the UI as a single select dropdown.
I want to preface this feature request with the note that this is definitely only a quality of life improvement.
With that said, can we have a multi-select dropdown list for array type input parameter where the items are restricted to values as part of an enum block?
For example:
What I'm hoping for in this case, is that this parameter in the UI is shown as a multi select drop down and only the selected values are stored in the context as an array.
That is, for the above example, if Value1 and Value3 are selected in the drop down, <%ctx(array_list)%> would return ['Value1', 'Value3']. As opposed to the current way, where we have to type in the string "Value1, Value3" in the input before triggering the execution.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In current versions of Stackstorm, any array type input parameter is displayed in the UI as a text box that requires comma separated values.
If the input parameter type is
enum
however, I see that it displays in the UI as a single select dropdown.I want to preface this feature request with the note that this is definitely only a quality of life improvement.
With that said, can we have a multi-select dropdown list for
array
type input parameter where theitems
are restricted to values as part of anenum
block?For example:
What I'm hoping for in this case, is that this parameter in the UI is shown as a multi select drop down and only the selected values are stored in the context as an array.
That is, for the above example, if
Value1
andValue3
are selected in the drop down,<%ctx(array_list)%>
would return['Value1', 'Value3']
. As opposed to the current way, where we have to type in the string "Value1, Value3" in the input before triggering the execution.Let me know if more info is required on this.
TIA
Beta Was this translation helpful? Give feedback.
All reactions