I am unable to find a way to change the colour of the text in a TextBox web component depending on data. There is a style class but not style class data provider. It needs to be an editable field, so I wouldn’t be able to load it up with HTML tags. I feel I’m just missing something simple here…
Have a look at elements.yourElementName .addStyleClass()/.hasStyleClass()/.removeStyleClass()
Thanks @ptalbot; that hit the mark