You can now add tooltips for dynamic values configured in the Rich Text widget. This is especially useful for values and states which are not well known and not frequently used and therefore a description in the form of a tooltip would help the user with some context.
Once a dynamic value has been added in the Rich Text Settings pane of the widget, you can left-click on this value in order to access the dialog in which you can add the relevant tooltip text. This text can be:
- static, or
- dynamic, i.e. involving placeholders for values from a data source or from a filter, if any.
Furthermore, if the dynamic value for which the tooltip is being added is an array, the tooltip can provide a separate description, also in the form of an array, for each array entry. In this case, the length of the two arrays must be identical.
In case a parameter in the tooltip text is null, missing, or invalid, an error is printed in the console, and no tooltip is displayed in the UI.
Otherwise, the tooltip is displayed when you hover over the dynamic value.
For details, see Rich Text widget.