Skip to content

bug(forms) Async-Validators not triggered for ControlGroup as long as Sync-Errors persist #8118

@choeller

Description

@choeller

Steps to reproduce and a minimal demo of the problem

Having a dependent validation in the form "If state is not "BACKLOG" assignee is required" using asyncValidators is not triggering as long as other Validations-Errors (e.g. required on another field) persist.

See the following plnkr:

http://plnkr.co/edit/8bmXDkmKiILUtKkRKhaf?p=preview

When your first action is to choose the state, the asncValidator will not be executed! Only after making the title field valid, by typing something in the title-field async-Validation works.

Current behavior

Async-Validations only get triggered, when no invalid sync-validations are present.

Expected/desired behavior

Async-Validations should be triggered independent of other validation errors.

Other information

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions