Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

$asyncValidators rejection message #13201

Open
@klmdb

Description

@klmdb

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions