Hi all -
I have a custom form input validator implemented using a directive. In the directive, the validation event is bound to the input's blur event. So on blur, I set the validity of the model using $setValidity. However, the $valid state is not updated until I give the input focus again and modify its value. In other words, the $valid state always lags one state behind.
Any idea how to get reflect the status of $valid in real-time?
Thanks in advance,
Jason