Hi,

I want to change the themeColor of a TextInput, so each time a user
types something the change event handler will validade the form and
change the color of the theme according to the validation result.

To sum it up I have something like this in my textinput change handler
function:

if(currentFormItemValid)
{
   currentFormItem.setStyle("themeColor", "#eaeaea");
}
else
{
   currentFormItem.setStyle("themeColor", "0xFF0000");
}

The problem is that nothing happends... if I do currentFormItem.text
+= 'A'; I can see that the code is being executed.

I also tried the callLater method but had no luck.

Anyway how can I fix this? Is there a better way?
thanks

Reply via email to