Skip to content
This repository was archived by the owner on Jan 5, 2022. It is now read-only.
This repository was archived by the owner on Jan 5, 2022. It is now read-only.

BUG: Async Validators Prevent Submit #57

@IdanCo

Description

@IdanCo

The validSubmit attribute of FormValidationDirective is emitted based on FormGroup's current status, as shown here -

if (this.formGroup.valid) {
      this.validSubmit.emit(this.formGroup.value);
    }

So if we're using an async validator, this condition will be false until async validation is resolved.

PR coming up...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions