@rxap/forms 19.2.0 → 21.0.1-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/compodoc/changelog.html +22 -0
- package/compodoc/classes/FormArrayControlManager.html +13 -10
- package/compodoc/classes/RxapFormArray.html +3 -1
- package/compodoc/classes/RxapFormBuilder.html +13 -10
- package/compodoc/classes/RxapFormControl.html +3 -1
- package/compodoc/classes/RxapFormGroup.html +3 -1
- package/compodoc/dependencies.html +13 -13
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +12279 -9865
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/classes/ControlValueAccessor.html +5 -5
- package/docs/html/classes/FormArrayControlManager.html +2 -2
- package/docs/html/classes/FormControlErrorDirective.html +5 -5
- package/docs/html/classes/FormControlMarkDirtyDirective.html +2 -2
- package/docs/html/classes/FormControlMarkPristineDirective.html +2 -2
- package/docs/html/classes/FormControlMarkTouchedDirective.html +2 -2
- package/docs/html/classes/FormControlMarkUntouchedDirective.html +2 -2
- package/docs/html/classes/FormControlNameDirective.html +33 -33
- package/docs/html/classes/FormDirective.html +47 -47
- package/docs/html/classes/FormGroupNameDirective.html +28 -28
- package/docs/html/classes/FormLoadedDirective.html +4 -4
- package/docs/html/classes/FormLoadingDirective.html +4 -4
- package/docs/html/classes/FormLoadingErrorDirective.html +4 -4
- package/docs/html/classes/FormResetDirective.html +2 -2
- package/docs/html/classes/FormSubmitDirective.html +3 -3
- package/docs/html/classes/FormSubmitFailedDirective.html +4 -4
- package/docs/html/classes/FormSubmitInvalidDirective.html +4 -4
- package/docs/html/classes/FormSubmitSuccessfulDirective.html +4 -4
- package/docs/html/classes/FormSubmittingDirective.html +4 -4
- package/docs/html/classes/ParentControlContainerDirective.html +2 -2
- package/docs/html/classes/RxapFormArray.html +96 -79
- package/docs/html/classes/RxapFormBuilder.html +2 -2
- package/docs/html/classes/RxapFormControl.html +92 -75
- package/docs/html/classes/RxapFormGroup.html +93 -77
- package/docs/html/classes/RxapFormsModule.html +2 -2
- package/docs/html/enums/MetadataKeys.html +2 -2
- package/docs/html/functions/ControlAsyncValidator.html +1 -1
- package/docs/html/functions/ControlChange.html +1 -1
- package/docs/html/functions/ControlSetValue.html +1 -1
- package/docs/html/functions/ControlValidator.html +1 -1
- package/docs/html/functions/IsArray.html +1 -1
- package/docs/html/functions/IsBoolean.html +1 -1
- package/docs/html/functions/IsComplex.html +1 -1
- package/docs/html/functions/IsDate.html +1 -1
- package/docs/html/functions/IsEmail.html +1 -1
- package/docs/html/functions/IsEnum.html +1 -1
- package/docs/html/functions/IsIP.html +1 -1
- package/docs/html/functions/IsInt.html +1 -1
- package/docs/html/functions/IsNumber-1.html +2 -2
- package/docs/html/functions/IsObject.html +1 -1
- package/docs/html/functions/IsPhoneNumber.html +1 -1
- package/docs/html/functions/IsPort.html +1 -1
- package/docs/html/functions/IsString.html +1 -1
- package/docs/html/functions/IsUUID.html +1 -1
- package/docs/html/functions/IsUrl.html +1 -1
- package/docs/html/functions/RxapForm.html +1 -1
- package/docs/html/functions/ToFormMethod.html +1 -1
- package/docs/html/functions/ToFormSubmitMethod.html +2 -2
- package/docs/html/functions/UseFormArrayControl.html +1 -1
- package/docs/html/functions/UseFormArrayGroup.html +1 -1
- package/docs/html/functions/UseFormControl.html +1 -1
- package/docs/html/functions/UseFormGroup.html +1 -1
- package/docs/html/functions/_IsNumber.html +1 -1
- package/docs/html/functions/controlDisabledWhile.html +1 -1
- package/docs/html/functions/controlDisabled_.html +1 -1
- package/docs/html/functions/controlEnabledWhile.html +1 -1
- package/docs/html/functions/controlEnabled_.html +1 -1
- package/docs/html/functions/controlErrorChanges_.html +1 -1
- package/docs/html/functions/controlReadonly_.html +1 -1
- package/docs/html/functions/controlStatusChanges_.html +1 -1
- package/docs/html/functions/controlValueChanges_.html +1 -1
- package/docs/html/functions/disableControl.html +1 -1
- package/docs/html/functions/enableControl.html +1 -1
- package/docs/html/functions/hasErrorAndDirty.html +1 -1
- package/docs/html/functions/hasErrorAndTouched.html +1 -1
- package/docs/html/functions/isNumber.html +2 -2
- package/docs/html/functions/markAllDirty.html +1 -1
- package/docs/html/functions/markAllPristine.html +1 -1
- package/docs/html/functions/markAllUntouched.html +1 -1
- package/docs/html/functions/mergeControlValidators.html +1 -1
- package/docs/html/functions/selectControlValue_.html +1 -1
- package/docs/html/functions/validateControlOn.html +1 -1
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/AbstractControl.html +95 -71
- package/docs/html/interfaces/AbstractControlOptions.html +4 -4
- package/docs/html/interfaces/BoxedValue.html +2 -2
- package/docs/html/interfaces/ComplexityOptions.html +2 -2
- package/docs/html/interfaces/ControlOptions.html +3 -3
- package/docs/html/interfaces/ControlSetValueOptions.html +2 -2
- package/docs/html/interfaces/FormArrayOptions.html +4 -4
- package/docs/html/interfaces/FormDefinition.html +6 -6
- package/docs/html/interfaces/FormDefinitionArray.html +43 -36
- package/docs/html/interfaces/FormDefinitionMetadata.html +5 -5
- package/docs/html/interfaces/FormGroupOptions.html +4 -4
- package/docs/html/interfaces/FormLoadFailedMethod.html +2 -2
- package/docs/html/interfaces/FormLoadMethod.html +2 -2
- package/docs/html/interfaces/FormLoadSuccessfulMethod.html +2 -2
- package/docs/html/interfaces/FormOptions.html +4 -4
- package/docs/html/interfaces/FormSubmitFailedMethod.html +2 -2
- package/docs/html/interfaces/FormSubmitMethod.html +2 -2
- package/docs/html/interfaces/FormSubmitSuccessfulMethod.html +2 -2
- package/docs/html/interfaces/InjectableValidator.html +2 -2
- package/docs/html/interfaces/IsNumberOptions.html +3 -3
- package/docs/html/interfaces/NgValidatorsErrors.html +2 -2
- package/docs/html/interfaces/RxapAbstractControlOptionsWithDefinition.html +4 -4
- package/docs/html/interfaces/_RxapAbstractControlOptions.html +4 -4
- package/docs/html/modules.html +1 -1
- package/docs/html/types/AsyncValidator.html +1 -1
- package/docs/html/types/AsyncValidatorFn.html +1 -1
- package/docs/html/types/ChangeFn.html +1 -1
- package/docs/html/types/ControlEventOptions.html +1 -1
- package/docs/html/types/ControlInsertedFn.html +1 -1
- package/docs/html/types/ControlPath.html +1 -1
- package/docs/html/types/ControlRemovedFn.html +1 -1
- package/docs/html/types/ControlState.html +1 -1
- package/docs/html/types/EmitEvent.html +1 -1
- package/docs/html/types/ExtractAbstractControl.html +1 -1
- package/docs/html/types/ExtractStrings.html +1 -1
- package/docs/html/types/FormBuilderFn.html +1 -1
- package/docs/html/types/FormType.html +1 -1
- package/docs/html/types/KeyValueControls.html +1 -1
- package/docs/html/types/OnlySelf.html +1 -1
- package/docs/html/types/OrBoxedValue.html +1 -1
- package/docs/html/types/RxapAbstractControlOptions.html +1 -1
- package/docs/html/types/SetValueFn.html +1 -1
- package/docs/html/types/ValidationErrors.html +1 -1
- package/docs/html/types/Validator.html +1 -1
- package/docs/html/types/ValidatorFn.html +1 -1
- package/docs/html/types/ValidatorOrOpts.html +1 -1
- package/docs/html/variables/RXAP_FORM_CONTEXT.html +1 -1
- package/docs/html/variables/RXAP_FORM_DEFINITION.html +1 -1
- package/docs/html/variables/RXAP_FORM_DEFINITION_BUILDER.html +1 -1
- package/docs/html/variables/RXAP_FORM_INITIAL_STATE.html +1 -1
- package/docs/html/variables/RXAP_FORM_LOAD_FAILED_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_LOAD_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_SUBMIT_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.html +1 -1
- package/docs/html/variables/RxapValidators.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/ControlValueAccessor.md +8 -8
- package/docs/markdown/classes/FormArrayControlManager.md +6 -6
- package/docs/markdown/classes/FormControlErrorDirective.md +7 -7
- package/docs/markdown/classes/FormControlMarkDirtyDirective.md +4 -4
- package/docs/markdown/classes/FormControlMarkPristineDirective.md +4 -4
- package/docs/markdown/classes/FormControlMarkTouchedDirective.md +4 -4
- package/docs/markdown/classes/FormControlMarkUntouchedDirective.md +4 -4
- package/docs/markdown/classes/FormControlNameDirective.md +36 -38
- package/docs/markdown/classes/FormDirective.md +139 -91
- package/docs/markdown/classes/FormGroupNameDirective.md +31 -31
- package/docs/markdown/classes/FormLoadedDirective.md +5 -5
- package/docs/markdown/classes/FormLoadingDirective.md +5 -5
- package/docs/markdown/classes/FormLoadingErrorDirective.md +5 -5
- package/docs/markdown/classes/FormResetDirective.md +8 -8
- package/docs/markdown/classes/FormSubmitDirective.md +15 -15
- package/docs/markdown/classes/FormSubmitFailedDirective.md +5 -5
- package/docs/markdown/classes/FormSubmitInvalidDirective.md +5 -5
- package/docs/markdown/classes/FormSubmitSuccessfulDirective.md +5 -5
- package/docs/markdown/classes/FormSubmittingDirective.md +5 -5
- package/docs/markdown/classes/ParentControlContainerDirective.md +2 -2
- package/docs/markdown/classes/RxapFormArray.md +132 -103
- package/docs/markdown/classes/RxapFormBuilder.md +4 -4
- package/docs/markdown/classes/RxapFormControl.md +127 -103
- package/docs/markdown/classes/RxapFormGroup.md +140 -117
- package/docs/markdown/classes/RxapFormsModule.md +2 -2
- package/docs/markdown/enumerations/MetadataKeys.md +10 -10
- package/docs/markdown/functions/ControlAsyncValidator.md +2 -2
- package/docs/markdown/functions/ControlChange.md +2 -2
- package/docs/markdown/functions/ControlSetValue.md +2 -2
- package/docs/markdown/functions/ControlValidator.md +2 -2
- package/docs/markdown/functions/IsArray.md +2 -2
- package/docs/markdown/functions/IsBoolean.md +2 -2
- package/docs/markdown/functions/IsComplex.md +2 -2
- package/docs/markdown/functions/IsDate.md +2 -2
- package/docs/markdown/functions/IsEmail.md +2 -2
- package/docs/markdown/functions/IsEnum.md +2 -2
- package/docs/markdown/functions/IsIP.md +2 -2
- package/docs/markdown/functions/IsInt.md +2 -2
- package/docs/markdown/functions/IsNumber-2.md +2 -2
- package/docs/markdown/functions/IsNumber.md +2 -2
- package/docs/markdown/functions/IsObject.md +2 -2
- package/docs/markdown/functions/IsPhoneNumber.md +2 -2
- package/docs/markdown/functions/IsPort.md +2 -2
- package/docs/markdown/functions/IsString.md +2 -2
- package/docs/markdown/functions/IsUUID.md +2 -2
- package/docs/markdown/functions/IsUrl.md +2 -2
- package/docs/markdown/functions/RxapForm.md +2 -2
- package/docs/markdown/functions/ToFormMethod.md +2 -2
- package/docs/markdown/functions/ToFormSubmitMethod.md +2 -2
- package/docs/markdown/functions/UseFormArrayControl.md +2 -2
- package/docs/markdown/functions/UseFormArrayGroup.md +2 -2
- package/docs/markdown/functions/UseFormControl.md +2 -2
- package/docs/markdown/functions/UseFormGroup.md +2 -2
- package/docs/markdown/functions/controlDisabled$.md +2 -2
- package/docs/markdown/functions/controlDisabledWhile.md +2 -2
- package/docs/markdown/functions/controlEnabled$.md +2 -2
- package/docs/markdown/functions/controlEnabledWhile.md +2 -2
- package/docs/markdown/functions/controlErrorChanges$.md +2 -2
- package/docs/markdown/functions/controlReadonly$.md +2 -2
- package/docs/markdown/functions/controlStatusChanges$.md +2 -2
- package/docs/markdown/functions/controlValueChanges$.md +2 -2
- package/docs/markdown/functions/disableControl.md +2 -2
- package/docs/markdown/functions/enableControl.md +2 -2
- package/docs/markdown/functions/hasErrorAndDirty.md +2 -2
- package/docs/markdown/functions/hasErrorAndTouched.md +2 -2
- package/docs/markdown/functions/isNumber-1.md +2 -2
- package/docs/markdown/functions/markAllDirty.md +2 -2
- package/docs/markdown/functions/markAllPristine.md +2 -2
- package/docs/markdown/functions/markAllUntouched.md +2 -2
- package/docs/markdown/functions/mergeControlValidators.md +2 -2
- package/docs/markdown/functions/selectControlValue$.md +2 -2
- package/docs/markdown/functions/validateControlOn.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/AbstractControl.md +122 -73
- package/docs/markdown/interfaces/AbstractControlOptions.md +5 -5
- package/docs/markdown/interfaces/BoxedValue.md +4 -4
- package/docs/markdown/interfaces/ComplexityOptions.md +12 -12
- package/docs/markdown/interfaces/ControlOptions.md +10 -10
- package/docs/markdown/interfaces/ControlSetValueOptions.md +4 -4
- package/docs/markdown/interfaces/FormArrayOptions.md +15 -15
- package/docs/markdown/interfaces/FormDefinition.md +7 -7
- package/docs/markdown/interfaces/FormDefinitionArray.md +70 -36
- package/docs/markdown/interfaces/FormDefinitionMetadata.md +14 -14
- package/docs/markdown/interfaces/FormGroupOptions.md +12 -12
- package/docs/markdown/interfaces/FormLoadFailedMethod.md +4 -4
- package/docs/markdown/interfaces/FormLoadMethod.md +4 -4
- package/docs/markdown/interfaces/FormLoadSuccessfulMethod.md +4 -4
- package/docs/markdown/interfaces/FormOptions.md +12 -12
- package/docs/markdown/interfaces/FormSubmitFailedMethod.md +4 -4
- package/docs/markdown/interfaces/FormSubmitMethod.md +4 -4
- package/docs/markdown/interfaces/FormSubmitSuccessfulMethod.md +4 -4
- package/docs/markdown/interfaces/InjectableValidator.md +4 -4
- package/docs/markdown/interfaces/IsNumberOptions.md +6 -6
- package/docs/markdown/interfaces/NgValidatorsErrors.md +9 -9
- package/docs/markdown/interfaces/RxapAbstractControlOptions.md +11 -11
- package/docs/markdown/interfaces/RxapAbstractControlOptionsWithDefinition.md +12 -12
- package/docs/markdown/type-aliases/AsyncValidator.md +2 -2
- package/docs/markdown/type-aliases/AsyncValidatorFn.md +2 -2
- package/docs/markdown/type-aliases/ChangeFn.md +2 -2
- package/docs/markdown/type-aliases/ControlEventOptions.md +2 -2
- package/docs/markdown/type-aliases/ControlInsertedFn.md +2 -2
- package/docs/markdown/type-aliases/ControlPath.md +2 -2
- package/docs/markdown/type-aliases/ControlRemovedFn.md +2 -2
- package/docs/markdown/type-aliases/ControlState.md +2 -2
- package/docs/markdown/type-aliases/EmitEvent.md +2 -2
- package/docs/markdown/type-aliases/ExtractAbstractControl.md +2 -2
- package/docs/markdown/type-aliases/ExtractStrings.md +2 -2
- package/docs/markdown/type-aliases/FormBuilderFn.md +2 -2
- package/docs/markdown/type-aliases/FormType.md +2 -2
- package/docs/markdown/type-aliases/KeyValueControls.md +2 -2
- package/docs/markdown/type-aliases/OnlySelf.md +2 -2
- package/docs/markdown/type-aliases/OrBoxedValue.md +2 -2
- package/docs/markdown/type-aliases/RxapAbstractControlOptions.md +2 -2
- package/docs/markdown/type-aliases/SetValueFn.md +2 -2
- package/docs/markdown/type-aliases/ValidationErrors.md +2 -2
- package/docs/markdown/type-aliases/Validator.md +2 -2
- package/docs/markdown/type-aliases/ValidatorFn.md +2 -2
- package/docs/markdown/type-aliases/ValidatorOrOpts.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_CONTEXT.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_DEFINITION.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_DEFINITION_BUILDER.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_INITIAL_STATE.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_LOAD_FAILED_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_LOAD_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SUBMIT_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +2 -2
- package/docs/markdown/variables/RxapValidators.md +2 -2
- package/docs/wiki/Class.ControlValueAccessor.md +7 -7
- package/docs/wiki/Class.FormArrayControlManager.md +5 -5
- package/docs/wiki/Class.FormControlErrorDirective.md +6 -6
- package/docs/wiki/Class.FormControlMarkDirtyDirective.md +3 -3
- package/docs/wiki/Class.FormControlMarkPristineDirective.md +3 -3
- package/docs/wiki/Class.FormControlMarkTouchedDirective.md +3 -3
- package/docs/wiki/Class.FormControlMarkUntouchedDirective.md +3 -3
- package/docs/wiki/Class.FormControlNameDirective.md +35 -37
- package/docs/wiki/Class.FormDirective.md +138 -90
- package/docs/wiki/Class.FormGroupNameDirective.md +30 -30
- package/docs/wiki/Class.FormLoadedDirective.md +4 -4
- package/docs/wiki/Class.FormLoadingDirective.md +4 -4
- package/docs/wiki/Class.FormLoadingErrorDirective.md +4 -4
- package/docs/wiki/Class.FormResetDirective.md +7 -7
- package/docs/wiki/Class.FormSubmitDirective.md +14 -14
- package/docs/wiki/Class.FormSubmitFailedDirective.md +4 -4
- package/docs/wiki/Class.FormSubmitInvalidDirective.md +4 -4
- package/docs/wiki/Class.FormSubmitSuccessfulDirective.md +4 -4
- package/docs/wiki/Class.FormSubmittingDirective.md +4 -4
- package/docs/wiki/Class.ParentControlContainerDirective.md +1 -1
- package/docs/wiki/Class.RxapFormArray.md +131 -102
- package/docs/wiki/Class.RxapFormBuilder.md +3 -3
- package/docs/wiki/Class.RxapFormControl.md +126 -102
- package/docs/wiki/Class.RxapFormGroup.md +139 -116
- package/docs/wiki/Class.RxapFormsModule.md +1 -1
- package/docs/wiki/Enumeration.MetadataKeys.md +9 -9
- package/docs/wiki/Function.ControlAsyncValidator.md +1 -1
- package/docs/wiki/Function.ControlChange.md +1 -1
- package/docs/wiki/Function.ControlSetValue.md +1 -1
- package/docs/wiki/Function.ControlValidator.md +1 -1
- package/docs/wiki/Function.IsArray.md +1 -1
- package/docs/wiki/Function.IsBoolean.md +1 -1
- package/docs/wiki/Function.IsComplex.md +1 -1
- package/docs/wiki/Function.IsDate.md +1 -1
- package/docs/wiki/Function.IsEmail.md +1 -1
- package/docs/wiki/Function.IsEnum.md +1 -1
- package/docs/wiki/Function.IsIP.md +1 -1
- package/docs/wiki/Function.IsInt.md +1 -1
- package/docs/wiki/Function.IsNumber.md +1 -1
- package/docs/wiki/Function.IsObject.md +1 -1
- package/docs/wiki/Function.IsPhoneNumber.md +1 -1
- package/docs/wiki/Function.IsPort.md +1 -1
- package/docs/wiki/Function.IsString.md +1 -1
- package/docs/wiki/Function.IsUUID.md +1 -1
- package/docs/wiki/Function.IsUrl.md +1 -1
- package/docs/wiki/Function.RxapForm.md +1 -1
- package/docs/wiki/Function.ToFormMethod.md +1 -1
- package/docs/wiki/Function.ToFormSubmitMethod.md +1 -1
- package/docs/wiki/Function.UseFormArrayControl.md +1 -1
- package/docs/wiki/Function.UseFormArrayGroup.md +1 -1
- package/docs/wiki/Function.UseFormControl.md +1 -1
- package/docs/wiki/Function.UseFormGroup.md +1 -1
- package/docs/wiki/Function._IsNumber.md +1 -1
- package/docs/wiki/Function.controlDisabled$.md +1 -1
- package/docs/wiki/Function.controlDisabledWhile.md +1 -1
- package/docs/wiki/Function.controlEnabled$.md +1 -1
- package/docs/wiki/Function.controlEnabledWhile.md +1 -1
- package/docs/wiki/Function.controlErrorChanges$.md +1 -1
- package/docs/wiki/Function.controlReadonly$.md +1 -1
- package/docs/wiki/Function.controlStatusChanges$.md +1 -1
- package/docs/wiki/Function.controlValueChanges$.md +1 -1
- package/docs/wiki/Function.disableControl.md +1 -1
- package/docs/wiki/Function.enableControl.md +1 -1
- package/docs/wiki/Function.hasErrorAndDirty.md +1 -1
- package/docs/wiki/Function.hasErrorAndTouched.md +1 -1
- package/docs/wiki/Function.isNumber.md +1 -1
- package/docs/wiki/Function.markAllDirty.md +1 -1
- package/docs/wiki/Function.markAllPristine.md +1 -1
- package/docs/wiki/Function.markAllUntouched.md +1 -1
- package/docs/wiki/Function.mergeControlValidators.md +1 -1
- package/docs/wiki/Function.selectControlValue$.md +1 -1
- package/docs/wiki/Function.validateControlOn.md +1 -1
- package/docs/wiki/Interface.AbstractControl.md +121 -72
- package/docs/wiki/Interface.AbstractControlOptions.md +4 -4
- package/docs/wiki/Interface.BoxedValue.md +3 -3
- package/docs/wiki/Interface.ComplexityOptions.md +11 -11
- package/docs/wiki/Interface.ControlOptions.md +9 -9
- package/docs/wiki/Interface.ControlSetValueOptions.md +3 -3
- package/docs/wiki/Interface.FormArrayOptions.md +14 -14
- package/docs/wiki/Interface.FormDefinition.md +6 -6
- package/docs/wiki/Interface.FormDefinitionArray.md +69 -35
- package/docs/wiki/Interface.FormDefinitionMetadata.md +13 -13
- package/docs/wiki/Interface.FormGroupOptions.md +11 -11
- package/docs/wiki/Interface.FormLoadFailedMethod.md +3 -3
- package/docs/wiki/Interface.FormLoadMethod.md +3 -3
- package/docs/wiki/Interface.FormLoadSuccessfulMethod.md +3 -3
- package/docs/wiki/Interface.FormOptions.md +11 -11
- package/docs/wiki/Interface.FormSubmitFailedMethod.md +3 -3
- package/docs/wiki/Interface.FormSubmitMethod.md +3 -3
- package/docs/wiki/Interface.FormSubmitSuccessfulMethod.md +3 -3
- package/docs/wiki/Interface.InjectableValidator.md +3 -3
- package/docs/wiki/Interface.IsNumberOptions.md +5 -5
- package/docs/wiki/Interface.NgValidatorsErrors.md +8 -8
- package/docs/wiki/Interface.RxapAbstractControlOptionsWithDefinition.md +11 -11
- package/docs/wiki/Interface._RxapAbstractControlOptions.md +10 -10
- package/docs/wiki/TypeAlias.AsyncValidator.md +1 -1
- package/docs/wiki/TypeAlias.AsyncValidatorFn.md +1 -1
- package/docs/wiki/TypeAlias.ChangeFn.md +1 -1
- package/docs/wiki/TypeAlias.ControlEventOptions.md +1 -1
- package/docs/wiki/TypeAlias.ControlInsertedFn.md +1 -1
- package/docs/wiki/TypeAlias.ControlPath.md +1 -1
- package/docs/wiki/TypeAlias.ControlRemovedFn.md +1 -1
- package/docs/wiki/TypeAlias.ControlState.md +1 -1
- package/docs/wiki/TypeAlias.EmitEvent.md +1 -1
- package/docs/wiki/TypeAlias.ExtractAbstractControl.md +1 -1
- package/docs/wiki/TypeAlias.ExtractStrings.md +1 -1
- package/docs/wiki/TypeAlias.FormBuilderFn.md +1 -1
- package/docs/wiki/TypeAlias.FormType.md +1 -1
- package/docs/wiki/TypeAlias.KeyValueControls.md +1 -1
- package/docs/wiki/TypeAlias.OnlySelf.md +1 -1
- package/docs/wiki/TypeAlias.OrBoxedValue.md +1 -1
- package/docs/wiki/TypeAlias.RxapAbstractControlOptions.md +1 -1
- package/docs/wiki/TypeAlias.SetValueFn.md +1 -1
- package/docs/wiki/TypeAlias.ValidationErrors.md +1 -1
- package/docs/wiki/TypeAlias.Validator.md +1 -1
- package/docs/wiki/TypeAlias.ValidatorFn.md +1 -1
- package/docs/wiki/TypeAlias.ValidatorOrOpts.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_CONTEXT.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_DEFINITION.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_DEFINITION_BUILDER.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_INITIAL_STATE.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_LOAD_FAILED_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_LOAD_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SUBMIT_FAILED_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SUBMIT_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +1 -1
- package/docs/wiki/Variable.RxapValidators.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-forms.mjs +79 -78
- package/fesm2022/rxap-forms.mjs.map +1 -1
- package/package.json +35 -30
- package/types/rxap-forms.d.ts +979 -0
- package/index.d.ts +0 -55
- package/lib/control-actions.d.ts +0 -23
- package/lib/control-value-accessor.d.ts +0 -9
- package/lib/decorators/control-async-validator.d.ts +0 -1
- package/lib/decorators/control-change.d.ts +0 -1
- package/lib/decorators/control-set-value.d.ts +0 -5
- package/lib/decorators/control-validator.d.ts +0 -1
- package/lib/decorators/form.d.ts +0 -2
- package/lib/decorators/metadata-keys.d.ts +0 -10
- package/lib/decorators/use-form-array.d.ts +0 -4
- package/lib/decorators/use-form-control.d.ts +0 -2
- package/lib/decorators/use-form-group.d.ts +0 -3
- package/lib/directives/form-control-error.directive.d.ts +0 -22
- package/lib/directives/form-control-mark-dirty.directive.d.ts +0 -9
- package/lib/directives/form-control-mark-pristine.directive.d.ts +0 -9
- package/lib/directives/form-control-mark-touched.directive.d.ts +0 -9
- package/lib/directives/form-control-mark-untouched.directive.d.ts +0 -9
- package/lib/directives/form-control-name.directive.d.ts +0 -16
- package/lib/directives/form-group-name.directive.d.ts +0 -16
- package/lib/directives/form-loaded.directive.d.ts +0 -14
- package/lib/directives/form-loading-error.directive.d.ts +0 -16
- package/lib/directives/form-loading.directive.d.ts +0 -14
- package/lib/directives/form-reset.directive.d.ts +0 -11
- package/lib/directives/form-submit-failed.directive.d.ts +0 -16
- package/lib/directives/form-submit-invalid.directive.d.ts +0 -16
- package/lib/directives/form-submit-successful.directive.d.ts +0 -16
- package/lib/directives/form-submit.directive.d.ts +0 -22
- package/lib/directives/form-submitting.directive.d.ts +0 -14
- package/lib/directives/form.directive.d.ts +0 -62
- package/lib/directives/forms.module.d.ts +0 -23
- package/lib/directives/models.d.ts +0 -29
- package/lib/directives/parent-control-container.directive.d.ts +0 -5
- package/lib/directives/tokens.d.ts +0 -12
- package/lib/form-array.d.ts +0 -76
- package/lib/form-builder.d.ts +0 -96
- package/lib/form-control.d.ts +0 -64
- package/lib/form-group.d.ts +0 -89
- package/lib/model.d.ts +0 -81
- package/lib/tokens.d.ts +0 -3
- package/lib/types.d.ts +0 -100
- package/lib/validators/index.d.ts +0 -32
- package/lib/validators/is-array.d.ts +0 -4
- package/lib/validators/is-boolean.d.ts +0 -4
- package/lib/validators/is-complex.d.ts +0 -17
- package/lib/validators/is-date.d.ts +0 -4
- package/lib/validators/is-email.d.ts +0 -6
- package/lib/validators/is-enum.d.ts +0 -5
- package/lib/validators/is-int.d.ts +0 -6
- package/lib/validators/is-ip.d.ts +0 -5
- package/lib/validators/is-number.d.ts +0 -24
- package/lib/validators/is-object.d.ts +0 -4
- package/lib/validators/is-phone-number.d.ts +0 -7
- package/lib/validators/is-port.d.ts +0 -4
- package/lib/validators/is-string.d.ts +0 -4
- package/lib/validators/is-url.d.ts +0 -6
- package/lib/validators/is-uuid.d.ts +0 -5
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: AbstractControl\<T\>
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:71](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:71](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/types.ts#L71)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -18,7 +18,7 @@ Defined in: [packages/angular/forms/src/lib/types.ts:71](https://gitlab.com/rxap
|
|
|
18
18
|
|
|
19
19
|
> `optional` **controlId**: `string`
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:73](https://gitlab.com/rxap/packages/-/blob/
|
|
21
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:73](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/types.ts#L73)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ Defined in: [packages/angular/forms/src/lib/types.ts:73](https://gitlab.com/rxap
|
|
|
26
26
|
|
|
27
27
|
> `readonly` **errors**: `null` \| `ValidationErrors`
|
|
28
28
|
|
|
29
|
-
Defined in: node\_modules/@angular/forms/
|
|
29
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2643
|
|
30
30
|
|
|
31
31
|
An object containing any errors generated by failing validation,
|
|
32
32
|
or null if there are no errors.
|
|
@@ -41,7 +41,7 @@ or null if there are no errors.
|
|
|
41
41
|
|
|
42
42
|
> `readonly` **events**: `Observable`\<`ControlEvent`\<`any`\>\>
|
|
43
43
|
|
|
44
|
-
Defined in: node\_modules/@angular/forms/
|
|
44
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2691
|
|
45
45
|
|
|
46
46
|
A multicasting observable that emits an event every time the state of the control changes.
|
|
47
47
|
It emits for value, status, pristine or touched changes.
|
|
@@ -53,6 +53,10 @@ of this event might result in getting a value that has not been updated yet. Sub
|
|
|
53
53
|
`events` of the parent control instead.
|
|
54
54
|
For other event types, the events are emitted after the parent control has been updated.
|
|
55
55
|
|
|
56
|
+
#### See
|
|
57
|
+
|
|
58
|
+
[Unified control state change events](../wiki/guide/forms/reactive-forms#unified-control-state-change-events)
|
|
59
|
+
|
|
56
60
|
#### Inherited from
|
|
57
61
|
|
|
58
62
|
`NgAbstractControl.events`
|
|
@@ -63,7 +67,7 @@ For other event types, the events are emitted after the parent control has been
|
|
|
63
67
|
|
|
64
68
|
> `optional` **fullControlPath**: `string`
|
|
65
69
|
|
|
66
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:74](https://gitlab.com/rxap/packages/-/blob/
|
|
70
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:74](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/types.ts#L74)
|
|
67
71
|
|
|
68
72
|
***
|
|
69
73
|
|
|
@@ -71,7 +75,7 @@ Defined in: [packages/angular/forms/src/lib/types.ts:74](https://gitlab.com/rxap
|
|
|
71
75
|
|
|
72
76
|
> `optional` **readonly**: `boolean`
|
|
73
77
|
|
|
74
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:76](https://gitlab.com/rxap/packages/-/blob/
|
|
78
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:76](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/types.ts#L76)
|
|
75
79
|
|
|
76
80
|
***
|
|
77
81
|
|
|
@@ -79,7 +83,7 @@ Defined in: [packages/angular/forms/src/lib/types.ts:76](https://gitlab.com/rxap
|
|
|
79
83
|
|
|
80
84
|
> `optional` **rxapFormDefinition**: [`FormDefinition`](../wiki/Interface.FormDefinition)\<`any`, `any`, `any`\>
|
|
81
85
|
|
|
82
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:75](https://gitlab.com/rxap/packages/-/blob/
|
|
86
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:75](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/types.ts#L75)
|
|
83
87
|
|
|
84
88
|
***
|
|
85
89
|
|
|
@@ -87,7 +91,7 @@ Defined in: [packages/angular/forms/src/lib/types.ts:75](https://gitlab.com/rxap
|
|
|
87
91
|
|
|
88
92
|
> `optional` **stateChanges**: `Subject`\<`any`\>
|
|
89
93
|
|
|
90
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:77](https://gitlab.com/rxap/packages/-/blob/
|
|
94
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:77](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/types.ts#L77)
|
|
91
95
|
|
|
92
96
|
***
|
|
93
97
|
|
|
@@ -95,7 +99,7 @@ Defined in: [packages/angular/forms/src/lib/types.ts:77](https://gitlab.com/rxap
|
|
|
95
99
|
|
|
96
100
|
> `readonly` **statusChanges**: `Observable`\<`FormControlStatus`\>
|
|
97
101
|
|
|
98
|
-
Defined in: node\_modules/@angular/forms/
|
|
102
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2711
|
|
99
103
|
|
|
100
104
|
A multicasting observable that emits an event every time the validation `status` of the control
|
|
101
105
|
recalculates.
|
|
@@ -115,7 +119,7 @@ recalculates.
|
|
|
115
119
|
|
|
116
120
|
> **value**: `T`
|
|
117
121
|
|
|
118
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:72](https://gitlab.com/rxap/packages/-/blob/
|
|
122
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:72](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/types.ts#L72)
|
|
119
123
|
|
|
120
124
|
The current value of the control.
|
|
121
125
|
|
|
@@ -124,7 +128,8 @@ The current value of the control.
|
|
|
124
128
|
with a key-value pair for each member of the group.
|
|
125
129
|
* For a disabled `FormGroup`, the values of all controls as an object
|
|
126
130
|
with a key-value pair for each member of the group.
|
|
127
|
-
* For
|
|
131
|
+
* For an enabled `FormArray`, the values of enabled controls as an array.
|
|
132
|
+
* For a disabled `FormArray`, the values of all controls as an array.
|
|
128
133
|
|
|
129
134
|
#### Overrides
|
|
130
135
|
|
|
@@ -136,7 +141,7 @@ with a key-value pair for each member of the group.
|
|
|
136
141
|
|
|
137
142
|
> `readonly` **valueChanges**: `Observable`\<`any`\>
|
|
138
143
|
|
|
139
|
-
Defined in: node\_modules/@angular/forms/
|
|
144
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2703
|
|
140
145
|
|
|
141
146
|
A multicasting observable that emits an event every time the value of the control changes, in
|
|
142
147
|
the UI or programmatically. It also emits an event each time you call enable() or disable()
|
|
@@ -160,7 +165,7 @@ event might result in getting a value that has not been updated yet. Subscribe t
|
|
|
160
165
|
|
|
161
166
|
> **get** **asyncValidator**(): `null` \| `AsyncValidatorFn`
|
|
162
167
|
|
|
163
|
-
Defined in: node\_modules/@angular/forms/
|
|
168
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2573
|
|
164
169
|
|
|
165
170
|
Returns the function that is used to determine the validity of this control asynchronously.
|
|
166
171
|
If multiple validators have been added, this will be a single composed function.
|
|
@@ -174,7 +179,7 @@ See `Validators.compose()` for additional information.
|
|
|
174
179
|
|
|
175
180
|
> **set** **asyncValidator**(`asyncValidatorFn`): `void`
|
|
176
181
|
|
|
177
|
-
Defined in: node\_modules/@angular/forms/
|
|
182
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2574
|
|
178
183
|
|
|
179
184
|
##### Parameters
|
|
180
185
|
|
|
@@ -198,7 +203,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:2162
|
|
|
198
203
|
|
|
199
204
|
> **get** **dirty**(): `boolean`
|
|
200
205
|
|
|
201
|
-
Defined in: node\_modules/@angular/forms/
|
|
206
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2661
|
|
202
207
|
|
|
203
208
|
A control is `dirty` if the user has changed the value
|
|
204
209
|
in the UI.
|
|
@@ -222,7 +227,7 @@ Programmatic changes to a control's value do not mark it dirty.
|
|
|
222
227
|
|
|
223
228
|
> **get** **disabled**(): `boolean`
|
|
224
229
|
|
|
225
|
-
Defined in: node\_modules/@angular/forms/
|
|
230
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2628
|
|
226
231
|
|
|
227
232
|
A control is `disabled` when its `status` is `DISABLED`.
|
|
228
233
|
|
|
@@ -252,7 +257,7 @@ True if the control is disabled, false otherwise.
|
|
|
252
257
|
|
|
253
258
|
> **get** **enabled**(): `boolean`
|
|
254
259
|
|
|
255
|
-
Defined in: node\_modules/@angular/forms/
|
|
260
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2638
|
|
256
261
|
|
|
257
262
|
A control is `enabled` as long as its `status` is not `DISABLED`.
|
|
258
263
|
|
|
@@ -279,7 +284,7 @@ false if the status is 'DISABLED'.
|
|
|
279
284
|
|
|
280
285
|
> **get** **invalid**(): `boolean`
|
|
281
286
|
|
|
282
|
-
Defined in: node\_modules/@angular/forms/
|
|
287
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2607
|
|
283
288
|
|
|
284
289
|
A control is `invalid` when its `status` is `INVALID`.
|
|
285
290
|
|
|
@@ -306,7 +311,7 @@ false otherwise.
|
|
|
306
311
|
|
|
307
312
|
> **get** **parent**(): `null` \| `FormGroup`\<`any`\> \| `FormArray`\<`any`\>
|
|
308
313
|
|
|
309
|
-
Defined in: node\_modules/@angular/forms/
|
|
314
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2578
|
|
310
315
|
|
|
311
316
|
The parent control.
|
|
312
317
|
|
|
@@ -326,7 +331,7 @@ The parent control.
|
|
|
326
331
|
|
|
327
332
|
> **get** **pending**(): `boolean`
|
|
328
333
|
|
|
329
|
-
Defined in: node\_modules/@angular/forms/
|
|
334
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2616
|
|
330
335
|
|
|
331
336
|
A control is `pending` when its `status` is `PENDING`.
|
|
332
337
|
|
|
@@ -353,7 +358,7 @@ false otherwise.
|
|
|
353
358
|
|
|
354
359
|
> **get** **pristine**(): `boolean`
|
|
355
360
|
|
|
356
|
-
Defined in: node\_modules/@angular/forms/
|
|
361
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2651
|
|
357
362
|
|
|
358
363
|
A control is `pristine` if the user has not yet changed
|
|
359
364
|
the value in the UI.
|
|
@@ -369,7 +374,7 @@ Programmatic changes to a control's value do not mark it dirty.
|
|
|
369
374
|
|
|
370
375
|
> **set** **pristine**(`value`): `void`
|
|
371
376
|
|
|
372
|
-
Defined in: node\_modules/@angular/forms/
|
|
377
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2652
|
|
373
378
|
|
|
374
379
|
##### Parameters
|
|
375
380
|
|
|
@@ -393,7 +398,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:2240
|
|
|
393
398
|
|
|
394
399
|
> **get** **root**(): `AbstractControl`
|
|
395
400
|
|
|
396
|
-
Defined in: node\_modules/@angular/forms/
|
|
401
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3203
|
|
397
402
|
|
|
398
403
|
Retrieves the top-level ancestor of this control.
|
|
399
404
|
|
|
@@ -413,7 +418,7 @@ Retrieves the top-level ancestor of this control.
|
|
|
413
418
|
|
|
414
419
|
> **get** **status**(): `FormControlStatus`
|
|
415
420
|
|
|
416
|
-
Defined in: node\_modules/@angular/forms/
|
|
421
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2587
|
|
417
422
|
|
|
418
423
|
The validation status of the control.
|
|
419
424
|
|
|
@@ -432,7 +437,7 @@ both valid AND invalid or invalid AND disabled.
|
|
|
432
437
|
|
|
433
438
|
> **set** **status**(`value`): `void`
|
|
434
439
|
|
|
435
|
-
Defined in: node\_modules/@angular/forms/
|
|
440
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2588
|
|
436
441
|
|
|
437
442
|
##### Parameters
|
|
438
443
|
|
|
@@ -456,7 +461,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:2176
|
|
|
456
461
|
|
|
457
462
|
> **get** **touched**(): `boolean`
|
|
458
463
|
|
|
459
|
-
Defined in: node\_modules/@angular/forms/
|
|
464
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2668
|
|
460
465
|
|
|
461
466
|
True if the control is marked as `touched`.
|
|
462
467
|
|
|
@@ -471,7 +476,7 @@ a `blur` event on it.
|
|
|
471
476
|
|
|
472
477
|
> **set** **touched**(`value`): `void`
|
|
473
478
|
|
|
474
|
-
Defined in: node\_modules/@angular/forms/
|
|
479
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2669
|
|
475
480
|
|
|
476
481
|
##### Parameters
|
|
477
482
|
|
|
@@ -495,7 +500,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:2257
|
|
|
495
500
|
|
|
496
501
|
> **get** **untouched**(): `boolean`
|
|
497
502
|
|
|
498
|
-
Defined in: node\_modules/@angular/forms/
|
|
503
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2677
|
|
499
504
|
|
|
500
505
|
True if the control has not been marked as touched
|
|
501
506
|
|
|
@@ -518,7 +523,7 @@ a `blur` event on it.
|
|
|
518
523
|
|
|
519
524
|
> **get** **updateOn**(): `FormHooks`
|
|
520
525
|
|
|
521
|
-
Defined in: node\_modules/@angular/forms/
|
|
526
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2718
|
|
522
527
|
|
|
523
528
|
Reports the update strategy of the `AbstractControl` (meaning
|
|
524
529
|
the event on which the control updates itself).
|
|
@@ -541,7 +546,7 @@ Default value: `'change'`
|
|
|
541
546
|
|
|
542
547
|
> **get** **valid**(): `boolean`
|
|
543
548
|
|
|
544
|
-
Defined in: node\_modules/@angular/forms/
|
|
549
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2598
|
|
545
550
|
|
|
546
551
|
A control is `valid` when its `status` is `VALID`.
|
|
547
552
|
|
|
@@ -568,7 +573,7 @@ false otherwise.
|
|
|
568
573
|
|
|
569
574
|
> **get** **validator**(): `null` \| `ValidatorFn`
|
|
570
575
|
|
|
571
|
-
Defined in: node\_modules/@angular/forms/
|
|
576
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2566
|
|
572
577
|
|
|
573
578
|
Returns the function that is used to determine the validity of this control synchronously.
|
|
574
579
|
If multiple validators have been added, this will be a single composed function.
|
|
@@ -582,7 +587,7 @@ See `Validators.compose()` for additional information.
|
|
|
582
587
|
|
|
583
588
|
> **set** **validator**(`validatorFn`): `void`
|
|
584
589
|
|
|
585
|
-
Defined in: node\_modules/@angular/forms/
|
|
590
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2567
|
|
586
591
|
|
|
587
592
|
##### Parameters
|
|
588
593
|
|
|
@@ -604,7 +609,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:2155
|
|
|
604
609
|
|
|
605
610
|
> **addAsyncValidators**(`validators`): `void`
|
|
606
611
|
|
|
607
|
-
Defined in: node\_modules/@angular/forms/
|
|
612
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2765
|
|
608
613
|
|
|
609
614
|
Add an asynchronous validator or validators to this control, without affecting other
|
|
610
615
|
validators.
|
|
@@ -636,7 +641,7 @@ The new asynchronous validator function or functions to add to this control.
|
|
|
636
641
|
|
|
637
642
|
> **addValidators**(`validators`): `void`
|
|
638
643
|
|
|
639
|
-
Defined in: node\_modules/@angular/forms/
|
|
644
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2753
|
|
640
645
|
|
|
641
646
|
Add a synchronous validator or validators to this control, without affecting other validators.
|
|
642
647
|
|
|
@@ -669,7 +674,7 @@ The new validator function or functions to add to this control.
|
|
|
669
674
|
|
|
670
675
|
> **clearAsyncValidators**(): `void`
|
|
671
676
|
|
|
672
|
-
Defined in: node\_modules/@angular/forms/
|
|
677
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2852
|
|
673
678
|
|
|
674
679
|
Empties out the async validator list.
|
|
675
680
|
|
|
@@ -690,7 +695,7 @@ When you add or remove a validator at run time, you must call
|
|
|
690
695
|
|
|
691
696
|
> **clearValidators**(): `void`
|
|
692
697
|
|
|
693
|
-
Defined in: node\_modules/@angular/forms/
|
|
698
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2844
|
|
694
699
|
|
|
695
700
|
Empties out the synchronous validator list.
|
|
696
701
|
|
|
@@ -711,7 +716,7 @@ When you add or remove a validator at run time, you must call
|
|
|
711
716
|
|
|
712
717
|
> **disable**(`opts`?): `void`
|
|
713
718
|
|
|
714
|
-
Defined in: node\_modules/@angular/forms/
|
|
719
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3020
|
|
715
720
|
|
|
716
721
|
Disables the control. This means the control is exempt from validation checks and
|
|
717
722
|
excluded from the aggregate value of any parent. Its status is `DISABLED`.
|
|
@@ -757,7 +762,7 @@ When false, no events are emitted.
|
|
|
757
762
|
|
|
758
763
|
> **enable**(`opts`?): `void`
|
|
759
764
|
|
|
760
|
-
Defined in: node\_modules/@angular/forms/
|
|
765
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3042
|
|
761
766
|
|
|
762
767
|
Enables the control. This means the control is included in validation checks and
|
|
763
768
|
the aggregate value of its parent. Its status recalculates based on its value and
|
|
@@ -804,9 +809,9 @@ When false, no events are emitted.
|
|
|
804
809
|
|
|
805
810
|
#### Call Signature
|
|
806
811
|
|
|
807
|
-
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P
|
|
812
|
+
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
|
|
808
813
|
|
|
809
|
-
Defined in: node\_modules/@angular/forms/
|
|
814
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3133
|
|
810
815
|
|
|
811
816
|
Retrieves a child control given the control's name or path.
|
|
812
817
|
|
|
@@ -824,7 +829,7 @@ This signature for get supports strings and `const` arrays (`.get(['foo', 'bar']
|
|
|
824
829
|
|
|
825
830
|
##### Returns
|
|
826
831
|
|
|
827
|
-
`null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P
|
|
832
|
+
`null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
|
|
828
833
|
|
|
829
834
|
##### Inherited from
|
|
830
835
|
|
|
@@ -832,9 +837,9 @@ This signature for get supports strings and `const` arrays (`.get(['foo', 'bar']
|
|
|
832
837
|
|
|
833
838
|
#### Call Signature
|
|
834
839
|
|
|
835
|
-
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P
|
|
840
|
+
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
|
|
836
841
|
|
|
837
|
-
Defined in: node\_modules/@angular/forms/
|
|
842
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3140
|
|
838
843
|
|
|
839
844
|
Retrieves a child control given the control's name or path.
|
|
840
845
|
|
|
@@ -853,7 +858,7 @@ information will not be as robust, so prefer to pass a `readonly` array if possi
|
|
|
853
858
|
|
|
854
859
|
##### Returns
|
|
855
860
|
|
|
856
|
-
`null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P
|
|
861
|
+
`null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
|
|
857
862
|
|
|
858
863
|
##### Inherited from
|
|
859
864
|
|
|
@@ -865,7 +870,7 @@ information will not be as robust, so prefer to pass a `readonly` array if possi
|
|
|
865
870
|
|
|
866
871
|
> **getError**(`errorCode`, `path`?): `any`
|
|
867
872
|
|
|
868
|
-
Defined in: node\_modules/@angular/forms/
|
|
873
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3168
|
|
869
874
|
|
|
870
875
|
#### Parameters
|
|
871
876
|
|
|
@@ -920,7 +925,7 @@ It can be provided to this method in one of two formats:
|
|
|
920
925
|
|
|
921
926
|
> **getRawValue**(): `any`
|
|
922
927
|
|
|
923
|
-
Defined in: node\_modules/@angular/forms/
|
|
928
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3069
|
|
924
929
|
|
|
925
930
|
The raw value of this control. For most control implementations, the raw value will include
|
|
926
931
|
disabled children.
|
|
@@ -939,7 +944,7 @@ disabled children.
|
|
|
939
944
|
|
|
940
945
|
> **hasAsyncValidator**(`validator`): `boolean`
|
|
941
946
|
|
|
942
|
-
Defined in: node\_modules/@angular/forms/
|
|
947
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2836
|
|
943
948
|
|
|
944
949
|
Check whether an asynchronous validator function is present on this control. The provided
|
|
945
950
|
validator must be a reference to the exact same function that was provided.
|
|
@@ -969,7 +974,7 @@ Whether the provided asynchronous validator was found on this control.
|
|
|
969
974
|
|
|
970
975
|
> **hasError**(`errorCode`, `path`?): `boolean`
|
|
971
976
|
|
|
972
|
-
Defined in: node\_modules/@angular/forms/
|
|
977
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3199
|
|
973
978
|
|
|
974
979
|
#### Parameters
|
|
975
980
|
|
|
@@ -1027,7 +1032,7 @@ If no path is given, this method checks for the error on the current control.
|
|
|
1027
1032
|
|
|
1028
1033
|
> **hasValidator**(`validator`): `boolean`
|
|
1029
1034
|
|
|
1030
|
-
Defined in: node\_modules/@angular/forms/
|
|
1035
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2827
|
|
1031
1036
|
|
|
1032
1037
|
Check whether a synchronous validator function is present on this control. The provided
|
|
1033
1038
|
validator must be a reference to the exact same function that was provided.
|
|
@@ -1048,9 +1053,7 @@ Whether the provided validator was found on this control.
|
|
|
1048
1053
|
|
|
1049
1054
|
#### Usage Notes
|
|
1050
1055
|
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
```
|
|
1056
|
+
```ts
|
|
1054
1057
|
// Reference to the RequiredValidator
|
|
1055
1058
|
const ctrl = new FormControl<number | null>(0, Validators.required);
|
|
1056
1059
|
expect(ctrl.hasValidator(Validators.required)).toEqual(true)
|
|
@@ -1068,11 +1071,48 @@ expect(ctrl.hasValidator(Validators.min(3))).toEqual(false)
|
|
|
1068
1071
|
|
|
1069
1072
|
***
|
|
1070
1073
|
|
|
1074
|
+
### markAllAsDirty()
|
|
1075
|
+
|
|
1076
|
+
> **markAllAsDirty**(`opts`?): `void`
|
|
1077
|
+
|
|
1078
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2889
|
|
1079
|
+
|
|
1080
|
+
Marks the control and all its descendant controls as `dirty`.
|
|
1081
|
+
|
|
1082
|
+
#### Parameters
|
|
1083
|
+
|
|
1084
|
+
##### opts?
|
|
1085
|
+
|
|
1086
|
+
Configuration options that determine how the control propagates changes
|
|
1087
|
+
and emits events after marking is applied.
|
|
1088
|
+
* `emitEvent`: When true or not supplied (the default), the `events`
|
|
1089
|
+
observable emits a `PristineChangeEvent` with the `pristine` property being `false`.
|
|
1090
|
+
When false, no events are emitted.
|
|
1091
|
+
|
|
1092
|
+
###### emitEvent?
|
|
1093
|
+
|
|
1094
|
+
`boolean`
|
|
1095
|
+
|
|
1096
|
+
#### Returns
|
|
1097
|
+
|
|
1098
|
+
`void`
|
|
1099
|
+
|
|
1100
|
+
#### See
|
|
1101
|
+
|
|
1102
|
+
- [()](../wiki/Interface.AbstractControl#markasdirty)
|
|
1103
|
+
- [Managing form control state](../wiki/guide/forms/reactive-forms#managing-form-control-state)
|
|
1104
|
+
|
|
1105
|
+
#### Inherited from
|
|
1106
|
+
|
|
1107
|
+
`NgAbstractControl.markAllAsDirty`
|
|
1108
|
+
|
|
1109
|
+
***
|
|
1110
|
+
|
|
1071
1111
|
### markAllAsTouched()
|
|
1072
1112
|
|
|
1073
1113
|
> **markAllAsTouched**(`opts`?): `void`
|
|
1074
1114
|
|
|
1075
|
-
Defined in: node\_modules/@angular/forms/
|
|
1115
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2905
|
|
1076
1116
|
|
|
1077
1117
|
Marks the control and all its descendant controls as `touched`.
|
|
1078
1118
|
|
|
@@ -1096,7 +1136,8 @@ When false, no events are emitted.
|
|
|
1096
1136
|
|
|
1097
1137
|
#### See
|
|
1098
1138
|
|
|
1099
|
-
[()](../wiki/Interface.AbstractControl#markastouched)
|
|
1139
|
+
- [()](../wiki/Interface.AbstractControl#markastouched)
|
|
1140
|
+
- [Managing form control state](../wiki/guide/forms/reactive-forms#managing-form-control-state)
|
|
1100
1141
|
|
|
1101
1142
|
#### Inherited from
|
|
1102
1143
|
|
|
@@ -1108,7 +1149,7 @@ When false, no events are emitted.
|
|
|
1108
1149
|
|
|
1109
1150
|
> **markAsDirty**(`opts`?): `void`
|
|
1110
1151
|
|
|
1111
|
-
Defined in: node\_modules/@angular/forms/
|
|
1152
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2952
|
|
1112
1153
|
|
|
1113
1154
|
Marks the control as `dirty`. A control becomes dirty when
|
|
1114
1155
|
the control's value is changed through the UI; compare `markAsTouched`.
|
|
@@ -1142,6 +1183,7 @@ When false, no events are emitted.
|
|
|
1142
1183
|
- [()](../wiki/Interface.AbstractControl#markastouched)
|
|
1143
1184
|
- [()](../wiki/Interface.AbstractControl#markasuntouched)
|
|
1144
1185
|
- [()](../wiki/Interface.AbstractControl#markaspristine)
|
|
1186
|
+
- [Managing form control state](../wiki/guide/forms/reactive-forms#managing-form-control-state)
|
|
1145
1187
|
|
|
1146
1188
|
#### Inherited from
|
|
1147
1189
|
|
|
@@ -1153,7 +1195,7 @@ When false, no events are emitted.
|
|
|
1153
1195
|
|
|
1154
1196
|
> **markAsPending**(`opts`?): `void`
|
|
1155
1197
|
|
|
1156
|
-
Defined in: node\_modules/@angular/forms/
|
|
1198
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2999
|
|
1157
1199
|
|
|
1158
1200
|
Marks the control as `pending`.
|
|
1159
1201
|
|
|
@@ -1198,7 +1240,7 @@ and the `events` observable emits a `StatusChangeEvent` with the `status` proper
|
|
|
1198
1240
|
|
|
1199
1241
|
> **markAsPristine**(`opts`?): `void`
|
|
1200
1242
|
|
|
1201
|
-
Defined in: node\_modules/@angular/forms/
|
|
1243
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2978
|
|
1202
1244
|
|
|
1203
1245
|
Marks the control as `pristine`.
|
|
1204
1246
|
|
|
@@ -1235,6 +1277,7 @@ When false, no events are emitted.
|
|
|
1235
1277
|
- [()](../wiki/Interface.AbstractControl#markastouched)
|
|
1236
1278
|
- [()](../wiki/Interface.AbstractControl#markasuntouched)
|
|
1237
1279
|
- [()](../wiki/Interface.AbstractControl#markasdirty)
|
|
1280
|
+
- [Managing form control state](../wiki/guide/forms/reactive-forms#managing-form-control-state)
|
|
1238
1281
|
|
|
1239
1282
|
#### Inherited from
|
|
1240
1283
|
|
|
@@ -1246,7 +1289,7 @@ When false, no events are emitted.
|
|
|
1246
1289
|
|
|
1247
1290
|
> **markAsTouched**(`opts`?): `void`
|
|
1248
1291
|
|
|
1249
|
-
Defined in: node\_modules/@angular/forms/
|
|
1292
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2872
|
|
1250
1293
|
|
|
1251
1294
|
Marks the control as `touched`. A control is touched by focus and
|
|
1252
1295
|
blur events that do not change the value.
|
|
@@ -1280,6 +1323,7 @@ When false, no events are emitted.
|
|
|
1280
1323
|
- [()](../wiki/Interface.AbstractControl#markasuntouched)
|
|
1281
1324
|
- [()](../wiki/Interface.AbstractControl#markasdirty)
|
|
1282
1325
|
- [()](../wiki/Interface.AbstractControl#markaspristine)
|
|
1326
|
+
- [Managing form control state](../wiki/guide/forms/reactive-forms#managing-form-control-state)
|
|
1283
1327
|
|
|
1284
1328
|
#### Inherited from
|
|
1285
1329
|
|
|
@@ -1291,7 +1335,7 @@ When false, no events are emitted.
|
|
|
1291
1335
|
|
|
1292
1336
|
> **markAsUntouched**(`opts`?): `void`
|
|
1293
1337
|
|
|
1294
|
-
Defined in: node\_modules/@angular/forms/
|
|
1338
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2929
|
|
1295
1339
|
|
|
1296
1340
|
Marks the control as `untouched`.
|
|
1297
1341
|
|
|
@@ -1327,6 +1371,7 @@ When false, no events are emitted.
|
|
|
1327
1371
|
- [()](../wiki/Interface.AbstractControl#markastouched)
|
|
1328
1372
|
- [()](../wiki/Interface.AbstractControl#markasdirty)
|
|
1329
1373
|
- [()](../wiki/Interface.AbstractControl#markaspristine)
|
|
1374
|
+
- [Managing form control state](../wiki/guide/forms/reactive-forms#managing-form-control-state)
|
|
1330
1375
|
|
|
1331
1376
|
#### Inherited from
|
|
1332
1377
|
|
|
@@ -1338,7 +1383,7 @@ When false, no events are emitted.
|
|
|
1338
1383
|
|
|
1339
1384
|
> `abstract` **patchValue**(`value`, `options`?): `void`
|
|
1340
1385
|
|
|
1341
|
-
Defined in: node\_modules/@angular/forms/
|
|
1386
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3060
|
|
1342
1387
|
|
|
1343
1388
|
Patches the value of the control. Abstract method (implemented in sub-classes).
|
|
1344
1389
|
|
|
@@ -1366,7 +1411,7 @@ Patches the value of the control. Abstract method (implemented in sub-classes).
|
|
|
1366
1411
|
|
|
1367
1412
|
> **removeAsyncValidators**(`validators`): `void`
|
|
1368
1413
|
|
|
1369
|
-
Defined in: node\_modules/@angular/forms/
|
|
1414
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2805
|
|
1370
1415
|
|
|
1371
1416
|
Remove an asynchronous validator from this control, without affecting other validators.
|
|
1372
1417
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
@@ -1398,7 +1443,7 @@ The asynchronous validator or validators to remove.
|
|
|
1398
1443
|
|
|
1399
1444
|
> **removeValidators**(`validators`): `void`
|
|
1400
1445
|
|
|
1401
|
-
Defined in: node\_modules/@angular/forms/
|
|
1446
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2793
|
|
1402
1447
|
|
|
1403
1448
|
Remove a synchronous validator from this control, without affecting other validators.
|
|
1404
1449
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
@@ -1419,9 +1464,7 @@ The validator or validators to remove.
|
|
|
1419
1464
|
|
|
1420
1465
|
#### Usage Notes
|
|
1421
1466
|
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
```
|
|
1467
|
+
```ts
|
|
1425
1468
|
// Reference to the RequiredValidator
|
|
1426
1469
|
const ctrl = new FormControl<string | null>('', Validators.required);
|
|
1427
1470
|
ctrl.removeValidators(Validators.required);
|
|
@@ -1448,7 +1491,7 @@ When you add or remove a validator at run time, you must call
|
|
|
1448
1491
|
|
|
1449
1492
|
> `abstract` **reset**(`value`?, `options`?): `void`
|
|
1450
1493
|
|
|
1451
|
-
Defined in: node\_modules/@angular/forms/
|
|
1494
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3064
|
|
1452
1495
|
|
|
1453
1496
|
Resets the control. Abstract method (implemented in sub-classes).
|
|
1454
1497
|
|
|
@@ -1476,7 +1519,7 @@ Resets the control. Abstract method (implemented in sub-classes).
|
|
|
1476
1519
|
|
|
1477
1520
|
> **setAsyncValidators**(`validators`): `void`
|
|
1478
1521
|
|
|
1479
|
-
Defined in: node\_modules/@angular/forms/
|
|
1522
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2740
|
|
1480
1523
|
|
|
1481
1524
|
Sets the asynchronous validators that are active on this control. Calling this
|
|
1482
1525
|
overwrites any existing asynchronous validators.
|
|
@@ -1507,12 +1550,14 @@ using `addAsyncValidators()` method instead.
|
|
|
1507
1550
|
|
|
1508
1551
|
> **setErrors**(`errors`, `opts`?): `void`
|
|
1509
1552
|
|
|
1510
|
-
Defined in: node\_modules/@angular/forms/
|
|
1553
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3125
|
|
1511
1554
|
|
|
1512
1555
|
Sets errors on a form control when running validations manually, rather than automatically.
|
|
1513
1556
|
|
|
1514
1557
|
Calling `setErrors` also updates the validity of the parent control.
|
|
1515
1558
|
|
|
1559
|
+
Note: Manually set errors are always overwritten by the results of the next validation run.
|
|
1560
|
+
|
|
1516
1561
|
#### Parameters
|
|
1517
1562
|
|
|
1518
1563
|
##### errors
|
|
@@ -1562,7 +1607,7 @@ expect(login.valid).toEqual(true);
|
|
|
1562
1607
|
|
|
1563
1608
|
> **setParent**(`parent`): `void`
|
|
1564
1609
|
|
|
1565
|
-
Defined in: node\_modules/@angular/forms/
|
|
1610
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3052
|
|
1566
1611
|
|
|
1567
1612
|
Sets the parent of the control
|
|
1568
1613
|
|
|
@@ -1588,7 +1633,7 @@ The new parent.
|
|
|
1588
1633
|
|
|
1589
1634
|
> **setValidators**(`validators`): `void`
|
|
1590
1635
|
|
|
1591
|
-
Defined in: node\_modules/@angular/forms/
|
|
1636
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2729
|
|
1592
1637
|
|
|
1593
1638
|
Sets the synchronous validators that are active on this control. Calling
|
|
1594
1639
|
this overwrites any existing synchronous validators.
|
|
@@ -1619,7 +1664,7 @@ using `addValidators()` method instead.
|
|
|
1619
1664
|
|
|
1620
1665
|
> `abstract` **setValue**(`value`, `options`?): `void`
|
|
1621
1666
|
|
|
1622
|
-
Defined in: node\_modules/@angular/forms/
|
|
1667
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3056
|
|
1623
1668
|
|
|
1624
1669
|
Sets the value of the control. Abstract method (implemented in sub-classes).
|
|
1625
1670
|
|
|
@@ -1647,7 +1692,7 @@ Sets the value of the control. Abstract method (implemented in sub-classes).
|
|
|
1647
1692
|
|
|
1648
1693
|
> **updateValueAndValidity**(`opts`?): `void`
|
|
1649
1694
|
|
|
1650
|
-
Defined in: node\_modules/@angular/forms/
|
|
1695
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3087
|
|
1651
1696
|
|
|
1652
1697
|
Recalculates the value and validation status of the control.
|
|
1653
1698
|
|
|
@@ -1678,6 +1723,10 @@ When false, no events are emitted.
|
|
|
1678
1723
|
|
|
1679
1724
|
`void`
|
|
1680
1725
|
|
|
1726
|
+
#### See
|
|
1727
|
+
|
|
1728
|
+
[Understanding propagation control](../wiki/guide/forms/reactive-forms#understanding-event-emission)
|
|
1729
|
+
|
|
1681
1730
|
#### Inherited from
|
|
1682
1731
|
|
|
1683
1732
|
`NgAbstractControl.updateValueAndValidity`
|