• 개요
@angular/forms

SetDisabledStateOption

타입 별칭
안정화

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.

API

    
      type SetDisabledStateOption = 'whenDisabledForLegacyCode' | 'always'
    
    
상세 내용으로 이동