I’m trying to format values in the label widget, but strugging to understand how to do it or what syntax to use.
I have an oh-label-card defined as follows
Item is defined as
When the item value is a date it displays correctly (although I don’t fully understand why the tag shows the formatted date but not the rest of the text?).
When the value is UNDEF, I get that as the vallue in the label
How (and where) do I put in a formatting rule to catch the UNDEF and display blank (or anything else) instead?
is the item tag the corect place to format the date, or should that be done in the page label as well?
I’m competent with scripting etc., it’s the mechanics of what I need to put where, to control this formatting.