Skip to content

question: Cancel/abort async validation #2148

Closed

Description

@TheCelavi

I have tried to find any information on how to cancel validation and/or how to create custom cancelable async validator.

When dealing with canceling, RxJS (observables) are way to go, but since this library does not support observables (which is understandable), support for abort signal should be sufficient enough. Especially if async validator contacts server through network for validation (per example, unique email where check is done while user types e-mail address, with some debouncing).

So, question is:

  • Is abort signal supported? (better yet, am I blind 😄 )
  • If abort signal is not supported, are there any plans to provide support?

Thank you!

Activity

  1. braaar commented on Jan 11, 2024

    @braaar
    Member

    I'm moving this to the discussion tab, as we are trying to keep the issue count low. Please see this issue for an explanation.

  2. locked and limited conversation to collaborators on Jan 11, 2024
  3. converted this issue into a discussion #2368 on Jan 11, 2024
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

    type: questionQuestions about the usage of the library.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions