You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Is there any way to display the $asyncValidators rejection message in the template?
I guess I could setup an isolated scope in my validation directive and then set the message to a bound variable, but that seems like a kind of hack outside the expected validator flow.
The same case could be made for a validator that receives unexpected input. It seems like a validator should have 3 possible states instead of {true, false}: {true, false, undefined} with the undefined state exposing the error message somehow.
The text was updated successfully, but these errors were encountered:
Is there any way to display the
$asyncValidators
rejection message in the template?I guess I could setup an isolated scope in my validation directive and then set the message to a bound variable, but that seems like a kind of hack outside the expected validator flow.
The same case could be made for a validator that receives unexpected input. It seems like a validator should have 3 possible states instead of
{true, false}
:{true, false, undefined}
with the undefined state exposing the error message somehow.The text was updated successfully, but these errors were encountered: