Skip to content

Add support for async validation #31

Description

@bsonntag

In some cases it might be necessary to run validations that are asynchronous. For example, you might want to see if an email is already registered while the user is typing.

ajv already supports async validation, but using that means that the validate function will return a promise. This is a problem because we're calling validate inside the form's state reducer.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions