Skip to content

Expose form status types (VALID, INVALID, PENDING, DISABLED) #27389

@VagrantAI-c

Description

@VagrantAI-c

🚀 feature request

Relevant Package

This feature request is for @angular/forms

Description

It would be great if form status types (such as `VALID`, `INVALID`, `PENDING `and `DISABLED`) would be exposed to public api

Describe the solution you'd like

Comparing form statuses to static strings eliminates Typescript as a concept, typechecking could benefit if these consts (which are already defined in forms/src/model.ts!) could be exposed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions