Add global options dynamically to ui-dropdown


i have a button in case i want to add other option to dropdown in my dashboard.
is there a possible way to add global options dynamically to ui-dropdown ???
thanks in advance.

you can dynamically inject all the options as per the info bar.

These values are read at deploy time so adding globals here would not make it dynamic - we could possibly add environment variables - but again they would only be read at deploy time.

1 Like

how could it be possible ? is there an exemple ?

could = conditional future = it is possible to change the code to do this.
it has not been done yet - just a thought. (and there are no immediate plans to do so). - so nothing to see.

1 Like

thnx anyway.

For now the answer is to inject the options you want as per the info sidebar, which would be as dynamic as you want.

Is this still impossible?

It isn't impossible. You dynamically set the drop-down options by passing in a message containing the options you want, just as @dceejay says.

1 Like

Sorry, I got confused about the question.
Seems this is about the dropdown on the UI. I was talking about displaying a dynamic a list of elements on a subflow env variable using a dropdown