$setValidationErrors will change the appropriate object to valid/invalid, however, it does not change the classes.
In the following example you can see that after $setValidationErrors is triggerd, the username's object changes from invalid: false and valid: true to invalid: true and valid: false, however, the class does not change from valid to invalid.
$setValidationErrors will change the appropriate object to valid/invalid, however, it does not change the classes.
In the following example you can see that after $setValidationErrors is triggerd, the username's object changes from
invalid: false
andvalid: true
toinvalid: true
andvalid: false
, however, the class does not change from valid to invalid.http://www.webpackbin.com/E1TaWZvz-