[ Web Proxy ]
URL:
Viewing: https://angular.dev/api/forms/FormControlStatus [Back]  [Original]

FormControlStatus Angular Skip to main content
menu
close
more_horiz
menuAPI
@angular/forms

FormControlStatus

Type Alias
stable

A form can have several different statuses. Each possible status is returned as a string literal.

On this page

    arrow_upward_alt Back to the top

    API

        
          type FormControlStatus = 'VALID' | 'INVALID' | 'PENDING' | 'DISABLED'
        
        

    Description

    A form can have several different statuses. Each possible status is returned as a string literal.

    • VALID: Reports that a control is valid, meaning that no errors exist in the input value.
    • INVALID: Reports that a control is invalid, meaning that an error exists in the input value.
    • PENDING: Reports that a control is pending, meaning that async validation is occurring and errors are not yet available for the input value.
    • DISABLED: Reports that a control is disabled, meaning that the control is exempt from ancestor calculations of validity or value.
    Jump to details

    Web Proxy Viewer  |  New URL  |  Original Page