When there’s a validation error, the error class is added to <div> and the label remains unaltered. What is a neat way to make the label red too? I figure it can be done by changing the validation algorithm to add the error class to <li> instead of <div> and then altering styles accordingly.
Thanks! The trick with inputContainer worked. I had to alter styles a bit and now in case of client validation error <li> receives the error class and the label becomes red.