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

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

SetDisabledStateOption

Type Alias
stable

The type for CALL_SET_DISABLED_STATE. If always, then ControlValueAccessor will always call setDisabledState when attached, which is the most correct behavior. Otherwise, it will only be called when disabled, which is the legacy behavior for compatibility.

FormsModule#withConfig

On this page

    arrow_upward_alt Back to the top

    API

        
          type SetDisabledStateOption = 'whenDisabledForLegacyCode' | 'always'
        
        
    Jump to details

    Web Proxy Viewer  |  New URL  |  Original Page