yiisoft/yii — pull request #1528 by oct8cat (2012-10-03 19:28:28+00:00)
Title: Reset attribute status on validation error.

Let's say, we have a form with two fields: `password` (validators: required, compare) and `password_repeat`. If the form's client/ajax validation is enabled and password confirmation is wrong, then the password field will have "wrong confirmation" error. If we then fix our confirmation, the error will still there, because password attribute was already marked as validated (status = 1).
Is it possible to set the attribute's status to 2 (pending) on validation error, so the attribute can be revalidated later together with another (not validated yet or invalid) attributes?