Dynamic tooltip for combobox

Is it possible to add some contextual help to the combobox so that it changes dynamically when the value of this combobox changes?
Simply adding some contextual help with visibility conditions doesn’t work.

Because the tooltip of the combobox is supposed to change dynamically depending on the value of the combobox itself, we need to use a script that will return the value of this combobox. We can not simply set listening to the same component, nor can we apply listening in a loop with another component.

One possible solution is to use page service as a script that will return the value of the component to a session variable.

Then we have to use our combobox as an input for our script and set the output variable as a session variable.

We also need to set the listening to session variable for the Combobox and add tooltips with appropriate conditions.

1 Like