Do you know if we can dynamically change the color of a label in JA if the value is null? (Example: Text-Input label is red if user has not entered a value yet then changes when a value is entered)
Yes, set the label-color property to a javascript function to return the color based on the value of the bound data field.
XML:
<text-input label-color="$:hasData()" label="Version" label-case="none" bind="account.version" required="false" />
JS:
function hasData()
{
return view.account.version ? "lime" : "red";
}