I want to change the background color of a textbox as an indicator that it is being validated.
<ui:style>
.textBoxColor
{
background-color: #FF6EB4;
}
</ui:style>
and then
if(firstName.equals(""))
{
txtFirstName.setStyleName("textBoxColor");
}
This is however not giving the expected result.
How can I achieve the change in color?
Kind regards