Default value in ui_text label possible?

Is it possible to do something like this?

Label -> {{msg.topic}} || SomethingAsDefaultString

Such that if {{msg.topic}} is empty, SomethingAsDefaultString populates the label? I guess I could always use a function to address the issue, or just an injection to set default label and then update the label as part of the text item (value) population, but would be cool if I could just set the label directly as noted above. What I am after is something like the initial message you can set on a chart, until chart data arrives.

Not currently possible, apart from via the workarounds you mention, but not the worst idea in the world. Worth thinking about on the next rainy day.

Thanks for the consideration! Appreciate it.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.