Add global options dynamically to ui-dropdown

#1


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.

0 Likes

#2

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

#3

how could it be possible ? is there an exemple ?

0 Likes

#4

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

#5

thnx anyway.

0 Likes

#6

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

0 Likes