@rxap/forms 19.2.0 → 21.0.1-dev.1
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 +36 -0
- package/compodoc/changelog.html +34 -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/directives/FormControlErrorDirective.html +97 -166
- package/compodoc/directives/FormControlMarkDirtyDirective.html +5 -107
- package/compodoc/directives/FormControlMarkPristineDirective.html +5 -107
- package/compodoc/directives/FormControlMarkTouchedDirective.html +5 -107
- package/compodoc/directives/FormControlMarkUntouchedDirective.html +5 -107
- package/compodoc/directives/FormControlNameDirective.html +12 -124
- package/compodoc/directives/FormDirective.html +1032 -1057
- package/compodoc/directives/FormGroupNameDirective.html +16 -111
- package/compodoc/directives/FormLoadedDirective.html +16 -96
- package/compodoc/directives/FormLoadingDirective.html +16 -96
- package/compodoc/directives/FormLoadingErrorDirective.html +15 -91
- package/compodoc/directives/FormResetDirective.html +47 -101
- package/compodoc/directives/FormSubmitDirective.html +45 -100
- package/compodoc/directives/FormSubmitFailedDirective.html +15 -91
- package/compodoc/directives/FormSubmitInvalidDirective.html +14 -95
- package/compodoc/directives/FormSubmitSuccessfulDirective.html +14 -95
- package/compodoc/directives/FormSubmittingDirective.html +16 -96
- package/compodoc/graph/dependencies.svg +15 -441
- package/compodoc/js/menu-wc.js +0 -77
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/modules.html +0 -17
- package/compodoc/overview.html +1 -473
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +13661 -13712
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.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 +3 -12
- 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 +34 -34
- package/docs/html/classes/FormDirective.html +72 -59
- package/docs/html/classes/FormGroupNameDirective.html +29 -29
- package/docs/html/classes/FormLoadedDirective.html +2 -9
- package/docs/html/classes/FormLoadingDirective.html +2 -9
- package/docs/html/classes/FormLoadingErrorDirective.html +2 -9
- package/docs/html/classes/FormResetDirective.html +4 -4
- package/docs/html/classes/FormSubmitDirective.html +4 -4
- package/docs/html/classes/FormSubmitFailedDirective.html +2 -9
- package/docs/html/classes/FormSubmitInvalidDirective.html +2 -9
- package/docs/html/classes/FormSubmitSuccessfulDirective.html +2 -9
- package/docs/html/classes/FormSubmittingDirective.html +2 -9
- 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/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 +8 -68
- package/docs/markdown/classes/FormControlMarkDirtyDirective.md +4 -12
- package/docs/markdown/classes/FormControlMarkPristineDirective.md +4 -12
- package/docs/markdown/classes/FormControlMarkTouchedDirective.md +4 -12
- package/docs/markdown/classes/FormControlMarkUntouchedDirective.md +4 -12
- package/docs/markdown/classes/FormControlNameDirective.md +38 -58
- package/docs/markdown/classes/FormDirective.md +255 -224
- package/docs/markdown/classes/FormGroupNameDirective.md +33 -47
- package/docs/markdown/classes/FormLoadedDirective.md +4 -62
- package/docs/markdown/classes/FormLoadingDirective.md +4 -62
- package/docs/markdown/classes/FormLoadingErrorDirective.md +4 -62
- package/docs/markdown/classes/FormResetDirective.md +15 -35
- package/docs/markdown/classes/FormSubmitDirective.md +33 -57
- package/docs/markdown/classes/FormSubmitFailedDirective.md +4 -62
- package/docs/markdown/classes/FormSubmitInvalidDirective.md +4 -62
- package/docs/markdown/classes/FormSubmitSuccessfulDirective.md +4 -62
- package/docs/markdown/classes/FormSubmittingDirective.md +4 -62
- 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/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 -3
- package/docs/markdown/interfaces/AbstractControl.md +122 -73
- package/docs/markdown/interfaces/AbstractControlOptions.md +6 -6
- 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 +16 -16
- package/docs/markdown/interfaces/FormDefinition.md +7 -7
- package/docs/markdown/interfaces/FormDefinitionArray.md +70 -36
- package/docs/markdown/interfaces/FormDefinitionMetadata.md +15 -15
- package/docs/markdown/interfaces/FormGroupOptions.md +13 -13
- 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 +13 -13
- 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 +12 -12
- package/docs/markdown/interfaces/RxapAbstractControlOptionsWithDefinition.md +13 -13
- 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 +7 -67
- package/docs/wiki/Class.FormControlMarkDirtyDirective.md +3 -11
- package/docs/wiki/Class.FormControlMarkPristineDirective.md +3 -11
- package/docs/wiki/Class.FormControlMarkTouchedDirective.md +3 -11
- package/docs/wiki/Class.FormControlMarkUntouchedDirective.md +3 -11
- package/docs/wiki/Class.FormControlNameDirective.md +37 -57
- package/docs/wiki/Class.FormDirective.md +254 -223
- package/docs/wiki/Class.FormGroupNameDirective.md +32 -46
- package/docs/wiki/Class.FormLoadedDirective.md +3 -61
- package/docs/wiki/Class.FormLoadingDirective.md +3 -61
- package/docs/wiki/Class.FormLoadingErrorDirective.md +3 -61
- package/docs/wiki/Class.FormResetDirective.md +14 -34
- package/docs/wiki/Class.FormSubmitDirective.md +32 -56
- package/docs/wiki/Class.FormSubmitFailedDirective.md +3 -61
- package/docs/wiki/Class.FormSubmitInvalidDirective.md +3 -61
- package/docs/wiki/Class.FormSubmitSuccessfulDirective.md +3 -61
- package/docs/wiki/Class.FormSubmittingDirective.md +3 -61
- 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/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 +5 -5
- 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 +15 -15
- package/docs/wiki/Interface.FormDefinition.md +6 -6
- package/docs/wiki/Interface.FormDefinitionArray.md +69 -35
- package/docs/wiki/Interface.FormDefinitionMetadata.md +14 -14
- package/docs/wiki/Interface.FormGroupOptions.md +12 -12
- 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 +12 -12
- 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 +12 -12
- package/docs/wiki/Interface._RxapAbstractControlOptions.md +11 -11
- 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/_Sidebar.md +0 -1
- package/docs/wiki/globals.md +1 -2
- package/fesm2022/rxap-forms.mjs +1878 -2197
- package/fesm2022/rxap-forms.mjs.map +1 -1
- package/package.json +35 -30
- package/types/rxap-forms.d.ts +969 -0
- package/docs/html/classes/RxapFormsModule.html +0 -2
- package/docs/markdown/classes/RxapFormsModule.md +0 -19
- package/docs/wiki/Class.RxapFormsModule.md +0 -15
- 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
|
# Class: RxapFormArray\<T, E, Parent\>
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:55](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:55](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L55)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -26,7 +26,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:55](https://gitlab.com
|
|
|
26
26
|
|
|
27
27
|
> **new RxapFormArray**\<`T`, `E`, `Parent`\>(`controls`, `options`): [`RxapFormArray`](../wiki/Class.RxapFormArray)\<`T`, `E`, `Parent`\>
|
|
28
28
|
|
|
29
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:131](https://gitlab.com/rxap/packages/-/blob/
|
|
29
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:131](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L131)
|
|
30
30
|
|
|
31
31
|
#### Parameters
|
|
32
32
|
|
|
@@ -52,7 +52,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:131](https://gitlab.co
|
|
|
52
52
|
|
|
53
53
|
> `readonly` **controlId**: `string`
|
|
54
54
|
|
|
55
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:118](https://gitlab.com/rxap/packages/-/blob/
|
|
55
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:118](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L118)
|
|
56
56
|
|
|
57
57
|
#### Implementation of
|
|
58
58
|
|
|
@@ -64,7 +64,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:118](https://gitlab.co
|
|
|
64
64
|
|
|
65
65
|
> **controls**: [`AbstractControl`](../wiki/Interface.AbstractControl)\<`T`\>[]
|
|
66
66
|
|
|
67
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:132](https://gitlab.com/rxap/packages/-/blob/
|
|
67
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:132](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L132)
|
|
68
68
|
|
|
69
69
|
#### Inherited from
|
|
70
70
|
|
|
@@ -76,7 +76,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:132](https://gitlab.co
|
|
|
76
76
|
|
|
77
77
|
> `readonly` **dirty$**: `Observable`\<`boolean`\>
|
|
78
78
|
|
|
79
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:124](https://gitlab.com/rxap/packages/-/blob/
|
|
79
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:124](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L124)
|
|
80
80
|
|
|
81
81
|
***
|
|
82
82
|
|
|
@@ -84,7 +84,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:124](https://gitlab.co
|
|
|
84
84
|
|
|
85
85
|
> `readonly` **disabled$**: `Observable`\<`boolean`\>
|
|
86
86
|
|
|
87
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:112](https://gitlab.com/rxap/packages/-/blob/
|
|
87
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:112](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L112)
|
|
88
88
|
|
|
89
89
|
***
|
|
90
90
|
|
|
@@ -92,7 +92,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:112](https://gitlab.co
|
|
|
92
92
|
|
|
93
93
|
> `readonly` **enabled$**: `Observable`\<`boolean`\>
|
|
94
94
|
|
|
95
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:114](https://gitlab.com/rxap/packages/-/blob/
|
|
95
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:114](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L114)
|
|
96
96
|
|
|
97
97
|
***
|
|
98
98
|
|
|
@@ -100,7 +100,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:114](https://gitlab.co
|
|
|
100
100
|
|
|
101
101
|
> `readonly` **errors**: `null` \| `E`
|
|
102
102
|
|
|
103
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:115](https://gitlab.com/rxap/packages/-/blob/
|
|
103
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:115](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L115)
|
|
104
104
|
|
|
105
105
|
An object containing any errors generated by failing validation,
|
|
106
106
|
or null if there are no errors.
|
|
@@ -119,7 +119,7 @@ or null if there are no errors.
|
|
|
119
119
|
|
|
120
120
|
> `readonly` **errors$**: `Observable`\<`null` \| `E`\>
|
|
121
121
|
|
|
122
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:117](https://gitlab.com/rxap/packages/-/blob/
|
|
122
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:117](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L117)
|
|
123
123
|
|
|
124
124
|
***
|
|
125
125
|
|
|
@@ -127,7 +127,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:117](https://gitlab.co
|
|
|
127
127
|
|
|
128
128
|
> `readonly` **events**: `Observable`\<`ControlEvent`\<`any`\>\>
|
|
129
129
|
|
|
130
|
-
Defined in: node\_modules/@angular/forms/
|
|
130
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2691
|
|
131
131
|
|
|
132
132
|
A multicasting observable that emits an event every time the state of the control changes.
|
|
133
133
|
It emits for value, status, pristine or touched changes.
|
|
@@ -139,6 +139,10 @@ of this event might result in getting a value that has not been updated yet. Sub
|
|
|
139
139
|
`events` of the parent control instead.
|
|
140
140
|
For other event types, the events are emitted after the parent control has been updated.
|
|
141
141
|
|
|
142
|
+
#### See
|
|
143
|
+
|
|
144
|
+
[Unified control state change events](../wiki/guide/forms/reactive-forms#unified-control-state-change-events)
|
|
145
|
+
|
|
142
146
|
#### Implementation of
|
|
143
147
|
|
|
144
148
|
[`AbstractControl`](../wiki/Interface.AbstractControl).[`events`](../wiki/Interface.AbstractControl#events)
|
|
@@ -153,7 +157,7 @@ For other event types, the events are emitted after the parent control has been
|
|
|
153
157
|
|
|
154
158
|
> `readonly` **status**: [`ControlState`](../wiki/TypeAlias.ControlState)
|
|
155
159
|
|
|
156
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:111](https://gitlab.com/rxap/packages/-/blob/
|
|
160
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:111](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L111)
|
|
157
161
|
|
|
158
162
|
The validation status of the control.
|
|
159
163
|
|
|
@@ -178,7 +182,7 @@ both valid AND invalid or invalid AND disabled.
|
|
|
178
182
|
|
|
179
183
|
> `readonly` **status$**: `Observable`\<[`ControlState`](../wiki/TypeAlias.ControlState)\>
|
|
180
184
|
|
|
181
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:116](https://gitlab.com/rxap/packages/-/blob/
|
|
185
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:116](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L116)
|
|
182
186
|
|
|
183
187
|
***
|
|
184
188
|
|
|
@@ -186,7 +190,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:116](https://gitlab.co
|
|
|
186
190
|
|
|
187
191
|
> `readonly` **statusChanges**: `Observable`\<[`ControlState`](../wiki/TypeAlias.ControlState)\>
|
|
188
192
|
|
|
189
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:113](https://gitlab.com/rxap/packages/-/blob/
|
|
193
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:113](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L113)
|
|
190
194
|
|
|
191
195
|
A multicasting observable that emits an event every time the validation `status` of the control
|
|
192
196
|
recalculates.
|
|
@@ -210,7 +214,7 @@ recalculates.
|
|
|
210
214
|
|
|
211
215
|
> `readonly` **touch$**: `Observable`\<`boolean`\>
|
|
212
216
|
|
|
213
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:120](https://gitlab.com/rxap/packages/-/blob/
|
|
217
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:120](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L120)
|
|
214
218
|
|
|
215
219
|
***
|
|
216
220
|
|
|
@@ -218,7 +222,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:120](https://gitlab.co
|
|
|
218
222
|
|
|
219
223
|
> `readonly` **value**: `T`[]
|
|
220
224
|
|
|
221
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:95](https://gitlab.com/rxap/packages/-/blob/
|
|
225
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:95](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L95)
|
|
222
226
|
|
|
223
227
|
The current value of the control.
|
|
224
228
|
|
|
@@ -227,7 +231,8 @@ The current value of the control.
|
|
|
227
231
|
with a key-value pair for each member of the group.
|
|
228
232
|
* For a disabled `FormGroup`, the values of all controls as an object
|
|
229
233
|
with a key-value pair for each member of the group.
|
|
230
|
-
* For
|
|
234
|
+
* For an enabled `FormArray`, the values of enabled controls as an array.
|
|
235
|
+
* For a disabled `FormArray`, the values of all controls as an array.
|
|
231
236
|
|
|
232
237
|
#### Implementation of
|
|
233
238
|
|
|
@@ -243,7 +248,7 @@ with a key-value pair for each member of the group.
|
|
|
243
248
|
|
|
244
249
|
> `readonly` **value$**: `Observable`\<`T`[]\>
|
|
245
250
|
|
|
246
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:109](https://gitlab.com/rxap/packages/-/blob/
|
|
251
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:109](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L109)
|
|
247
252
|
|
|
248
253
|
***
|
|
249
254
|
|
|
@@ -251,7 +256,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:109](https://gitlab.co
|
|
|
251
256
|
|
|
252
257
|
> `readonly` **valueChanges**: `Observable`\<`T`[]\>
|
|
253
258
|
|
|
254
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:107](https://gitlab.com/rxap/packages/-/blob/
|
|
259
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:107](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L107)
|
|
255
260
|
|
|
256
261
|
A multicasting observable that emits an event every time the value of the control changes, in
|
|
257
262
|
the UI or programmatically. It also emits an event each time you call enable() or disable()
|
|
@@ -279,7 +284,7 @@ event might result in getting a value that has not been updated yet. Subscribe t
|
|
|
279
284
|
|
|
280
285
|
> **get** **asyncValidator**(): `null` \| `AsyncValidatorFn`
|
|
281
286
|
|
|
282
|
-
Defined in: node\_modules/@angular/forms/
|
|
287
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2573
|
|
283
288
|
|
|
284
289
|
Returns the function that is used to determine the validity of this control asynchronously.
|
|
285
290
|
If multiple validators have been added, this will be a single composed function.
|
|
@@ -293,7 +298,7 @@ See `Validators.compose()` for additional information.
|
|
|
293
298
|
|
|
294
299
|
> **set** **asyncValidator**(`asyncValidatorFn`): `void`
|
|
295
300
|
|
|
296
|
-
Defined in: node\_modules/@angular/forms/
|
|
301
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2574
|
|
297
302
|
|
|
298
303
|
##### Parameters
|
|
299
304
|
|
|
@@ -321,7 +326,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:2162
|
|
|
321
326
|
|
|
322
327
|
> **get** **controlPath**(): `string`
|
|
323
328
|
|
|
324
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:81](https://gitlab.com/rxap/packages/-/blob/
|
|
329
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:81](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L81)
|
|
325
330
|
|
|
326
331
|
##### Returns
|
|
327
332
|
|
|
@@ -335,7 +340,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:81](https://gitlab.com
|
|
|
335
340
|
|
|
336
341
|
> **get** **dirty**(): `boolean`
|
|
337
342
|
|
|
338
|
-
Defined in: node\_modules/@angular/forms/
|
|
343
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2661
|
|
339
344
|
|
|
340
345
|
A control is `dirty` if the user has changed the value
|
|
341
346
|
in the UI.
|
|
@@ -363,7 +368,7 @@ Programmatic changes to a control's value do not mark it dirty.
|
|
|
363
368
|
|
|
364
369
|
> **get** **disabled**(): `boolean`
|
|
365
370
|
|
|
366
|
-
Defined in: node\_modules/@angular/forms/
|
|
371
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2628
|
|
367
372
|
|
|
368
373
|
A control is `disabled` when its `status` is `DISABLED`.
|
|
369
374
|
|
|
@@ -397,7 +402,7 @@ True if the control is disabled, false otherwise.
|
|
|
397
402
|
|
|
398
403
|
> **get** **enabled**(): `boolean`
|
|
399
404
|
|
|
400
|
-
Defined in: node\_modules/@angular/forms/
|
|
405
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2638
|
|
401
406
|
|
|
402
407
|
A control is `enabled` as long as its `status` is not `DISABLED`.
|
|
403
408
|
|
|
@@ -428,7 +433,7 @@ false if the status is 'DISABLED'.
|
|
|
428
433
|
|
|
429
434
|
> **get** **fullControlPath**(): `string`
|
|
430
435
|
|
|
431
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:97](https://gitlab.com/rxap/packages/-/blob/
|
|
436
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:97](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L97)
|
|
432
437
|
|
|
433
438
|
##### Returns
|
|
434
439
|
|
|
@@ -446,7 +451,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:97](https://gitlab.com
|
|
|
446
451
|
|
|
447
452
|
> **get** **invalid**(): `boolean`
|
|
448
453
|
|
|
449
|
-
Defined in: node\_modules/@angular/forms/
|
|
454
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2607
|
|
450
455
|
|
|
451
456
|
A control is `invalid` when its `status` is `INVALID`.
|
|
452
457
|
|
|
@@ -477,7 +482,7 @@ false otherwise.
|
|
|
477
482
|
|
|
478
483
|
> **get** **length**(): `number`
|
|
479
484
|
|
|
480
|
-
Defined in: node\_modules/@angular/forms/
|
|
485
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:1175
|
|
481
486
|
|
|
482
487
|
Length of the control array.
|
|
483
488
|
|
|
@@ -497,7 +502,7 @@ Length of the control array.
|
|
|
497
502
|
|
|
498
503
|
> **get** **parent**(): `null` \| `FormGroup`\<`any`\> \| `FormArray`\<`any`\>
|
|
499
504
|
|
|
500
|
-
Defined in: node\_modules/@angular/forms/
|
|
505
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2578
|
|
501
506
|
|
|
502
507
|
The parent control.
|
|
503
508
|
|
|
@@ -521,7 +526,7 @@ The parent control.
|
|
|
521
526
|
|
|
522
527
|
> **get** **pending**(): `boolean`
|
|
523
528
|
|
|
524
|
-
Defined in: node\_modules/@angular/forms/
|
|
529
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2616
|
|
525
530
|
|
|
526
531
|
A control is `pending` when its `status` is `PENDING`.
|
|
527
532
|
|
|
@@ -552,7 +557,7 @@ false otherwise.
|
|
|
552
557
|
|
|
553
558
|
> **get** **pristine**(): `boolean`
|
|
554
559
|
|
|
555
|
-
Defined in: node\_modules/@angular/forms/
|
|
560
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2651
|
|
556
561
|
|
|
557
562
|
A control is `pristine` if the user has not yet changed
|
|
558
563
|
the value in the UI.
|
|
@@ -568,7 +573,7 @@ Programmatic changes to a control's value do not mark it dirty.
|
|
|
568
573
|
|
|
569
574
|
> **set** **pristine**(`value`): `void`
|
|
570
575
|
|
|
571
|
-
Defined in: node\_modules/@angular/forms/
|
|
576
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2652
|
|
572
577
|
|
|
573
578
|
##### Parameters
|
|
574
579
|
|
|
@@ -596,7 +601,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:2240
|
|
|
596
601
|
|
|
597
602
|
> **get** **readonly**(): `boolean`
|
|
598
603
|
|
|
599
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:63](https://gitlab.com/rxap/packages/-/blob/
|
|
604
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:63](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L63)
|
|
600
605
|
|
|
601
606
|
##### Returns
|
|
602
607
|
|
|
@@ -606,7 +611,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:63](https://gitlab.com
|
|
|
606
611
|
|
|
607
612
|
> **set** **readonly**(`value`): `void`
|
|
608
613
|
|
|
609
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:67](https://gitlab.com/rxap/packages/-/blob/
|
|
614
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:67](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L67)
|
|
610
615
|
|
|
611
616
|
##### Parameters
|
|
612
617
|
|
|
@@ -630,7 +635,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:67](https://gitlab.com
|
|
|
630
635
|
|
|
631
636
|
> **get** **root**(): `AbstractControl`
|
|
632
637
|
|
|
633
|
-
Defined in: node\_modules/@angular/forms/
|
|
638
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3203
|
|
634
639
|
|
|
635
640
|
Retrieves the top-level ancestor of this control.
|
|
636
641
|
|
|
@@ -654,7 +659,7 @@ Retrieves the top-level ancestor of this control.
|
|
|
654
659
|
|
|
655
660
|
> **get** **rxapFormDefinition**(): `undefined` \| `Partial`\<[`FormDefinition`](../wiki/Interface.FormDefinition)\<`Parent`, `any`, `any`\>\> & \{ \[K in string \| number \| symbol\]: Parent\[K\] extends U\[\] ? FormDefinitionArray\<FormType\<U\>\> \| FormDefinitionArray\<RxapFormControl\<U, any, any\>\> \| RxapFormArray\<U, any, any\> \| RxapFormControl\<any\[any\], any, any\> : Parent\[K\] extends Record\<string, any\> ? Partial\<FormDefinition\<any\[any\], any, any\>\> & \{ \[K in string \| number \| symbol\]: any\[any\]\[K\] extends U\[\] ? FormDefinitionArray\<(...)\> \| FormDefinitionArray\<(...)\> \| RxapFormArray\<(...), (...), (...)\> \| RxapFormControl\<(...), (...), (...)\> : (...)\[(...)\] extends Record\<(...), (...)\> ? (...) \| (...) : RxapFormControl\<(...), (...), (...)\> \} & Partial\<FormDefinition\<any\[any\], any, any\>\> \| RxapFormControl\<any\[any\], any, any\> : RxapFormControl\<NonEmpty\<Parent\[K\]\>, any, any\> \} & [`FormDefinition`](../wiki/Interface.FormDefinition)\<`Parent`, `any`, `any`\>
|
|
656
661
|
|
|
657
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:75](https://gitlab.com/rxap/packages/-/blob/
|
|
662
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:75](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L75)
|
|
658
663
|
|
|
659
664
|
**`Internal`**
|
|
660
665
|
|
|
@@ -674,7 +679,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:75](https://gitlab.com
|
|
|
674
679
|
|
|
675
680
|
> **get** **touched**(): `boolean`
|
|
676
681
|
|
|
677
|
-
Defined in: node\_modules/@angular/forms/
|
|
682
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2668
|
|
678
683
|
|
|
679
684
|
True if the control is marked as `touched`.
|
|
680
685
|
|
|
@@ -689,7 +694,7 @@ a `blur` event on it.
|
|
|
689
694
|
|
|
690
695
|
> **set** **touched**(`value`): `void`
|
|
691
696
|
|
|
692
|
-
Defined in: node\_modules/@angular/forms/
|
|
697
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2669
|
|
693
698
|
|
|
694
699
|
##### Parameters
|
|
695
700
|
|
|
@@ -717,7 +722,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:2257
|
|
|
717
722
|
|
|
718
723
|
> **get** **untouched**(): `boolean`
|
|
719
724
|
|
|
720
|
-
Defined in: node\_modules/@angular/forms/
|
|
725
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2677
|
|
721
726
|
|
|
722
727
|
True if the control has not been marked as touched
|
|
723
728
|
|
|
@@ -744,7 +749,7 @@ a `blur` event on it.
|
|
|
744
749
|
|
|
745
750
|
> **get** **updateOn**(): `FormHooks`
|
|
746
751
|
|
|
747
|
-
Defined in: node\_modules/@angular/forms/
|
|
752
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2718
|
|
748
753
|
|
|
749
754
|
Reports the update strategy of the `AbstractControl` (meaning
|
|
750
755
|
the event on which the control updates itself).
|
|
@@ -771,7 +776,7 @@ Default value: `'change'`
|
|
|
771
776
|
|
|
772
777
|
> **get** **valid**(): `boolean`
|
|
773
778
|
|
|
774
|
-
Defined in: node\_modules/@angular/forms/
|
|
779
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2598
|
|
775
780
|
|
|
776
781
|
A control is `valid` when its `status` is `VALID`.
|
|
777
782
|
|
|
@@ -802,7 +807,7 @@ false otherwise.
|
|
|
802
807
|
|
|
803
808
|
> **get** **validator**(): `null` \| `ValidatorFn`
|
|
804
809
|
|
|
805
|
-
Defined in: node\_modules/@angular/forms/
|
|
810
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2566
|
|
806
811
|
|
|
807
812
|
Returns the function that is used to determine the validity of this control synchronously.
|
|
808
813
|
If multiple validators have been added, this will be a single composed function.
|
|
@@ -816,7 +821,7 @@ See `Validators.compose()` for additional information.
|
|
|
816
821
|
|
|
817
822
|
> **set** **validator**(`validatorFn`): `void`
|
|
818
823
|
|
|
819
|
-
Defined in: node\_modules/@angular/forms/
|
|
824
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2567
|
|
820
825
|
|
|
821
826
|
##### Parameters
|
|
822
827
|
|
|
@@ -842,7 +847,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:2155
|
|
|
842
847
|
|
|
843
848
|
> **addAsyncValidators**(`validators`): `void`
|
|
844
849
|
|
|
845
|
-
Defined in: node\_modules/@angular/forms/
|
|
850
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2765
|
|
846
851
|
|
|
847
852
|
Add an asynchronous validator or validators to this control, without affecting other
|
|
848
853
|
validators.
|
|
@@ -878,7 +883,7 @@ The new asynchronous validator function or functions to add to this control.
|
|
|
878
883
|
|
|
879
884
|
> **addValidators**(`validators`): `void`
|
|
880
885
|
|
|
881
|
-
Defined in: node\_modules/@angular/forms/
|
|
886
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2753
|
|
882
887
|
|
|
883
888
|
Add a synchronous validator or validators to this control, without affecting other validators.
|
|
884
889
|
|
|
@@ -915,7 +920,7 @@ The new validator function or functions to add to this control.
|
|
|
915
920
|
|
|
916
921
|
> **at**(`index`): [`AbstractControl`](../wiki/Interface.AbstractControl)\<`T`\>
|
|
917
922
|
|
|
918
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:146](https://gitlab.com/rxap/packages/-/blob/
|
|
923
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:146](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L146)
|
|
919
924
|
|
|
920
925
|
Get the `AbstractControl` at the given `index` in the array.
|
|
921
926
|
|
|
@@ -943,7 +948,7 @@ undefined. This behavior is the same as `Array.at(index)`.
|
|
|
943
948
|
|
|
944
949
|
> **clear**(`options`?): `void`
|
|
945
950
|
|
|
946
|
-
Defined in: node\_modules/@angular/forms/
|
|
951
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:1344
|
|
947
952
|
|
|
948
953
|
Remove all controls in the `FormArray`.
|
|
949
954
|
|
|
@@ -1003,7 +1008,7 @@ while (arr.length) {
|
|
|
1003
1008
|
|
|
1004
1009
|
> **clearAsyncValidators**(): `void`
|
|
1005
1010
|
|
|
1006
|
-
Defined in: node\_modules/@angular/forms/
|
|
1011
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2852
|
|
1007
1012
|
|
|
1008
1013
|
Empties out the async validator list.
|
|
1009
1014
|
|
|
@@ -1028,7 +1033,7 @@ When you add or remove a validator at run time, you must call
|
|
|
1028
1033
|
|
|
1029
1034
|
> **clearValidators**(): `void`
|
|
1030
1035
|
|
|
1031
|
-
Defined in: node\_modules/@angular/forms/
|
|
1036
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2844
|
|
1032
1037
|
|
|
1033
1038
|
Empties out the synchronous validator list.
|
|
1034
1039
|
|
|
@@ -1053,7 +1058,7 @@ When you add or remove a validator at run time, you must call
|
|
|
1053
1058
|
|
|
1054
1059
|
> **disable**(`opts`?): `void`
|
|
1055
1060
|
|
|
1056
|
-
Defined in: node\_modules/@angular/forms/
|
|
1061
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3020
|
|
1057
1062
|
|
|
1058
1063
|
Disables the control. This means the control is exempt from validation checks and
|
|
1059
1064
|
excluded from the aggregate value of any parent. Its status is `DISABLED`.
|
|
@@ -1103,7 +1108,7 @@ When false, no events are emitted.
|
|
|
1103
1108
|
|
|
1104
1109
|
> **disabledWhile**(`observable`, `options`?): `Subscription`
|
|
1105
1110
|
|
|
1106
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:207](https://gitlab.com/rxap/packages/-/blob/
|
|
1111
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:207](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L207)
|
|
1107
1112
|
|
|
1108
1113
|
#### Parameters
|
|
1109
1114
|
|
|
@@ -1125,7 +1130,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:207](https://gitlab.co
|
|
|
1125
1130
|
|
|
1126
1131
|
> **enable**(`opts`?): `void`
|
|
1127
1132
|
|
|
1128
|
-
Defined in: node\_modules/@angular/forms/
|
|
1133
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3042
|
|
1129
1134
|
|
|
1130
1135
|
Enables the control. This means the control is included in validation checks and
|
|
1131
1136
|
the aggregate value of its parent. Its status recalculates based on its value and
|
|
@@ -1176,7 +1181,7 @@ When false, no events are emitted.
|
|
|
1176
1181
|
|
|
1177
1182
|
> **enabledWhile**(`observable`, `options`?): `Subscription`
|
|
1178
1183
|
|
|
1179
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:214](https://gitlab.com/rxap/packages/-/blob/
|
|
1184
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:214](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L214)
|
|
1180
1185
|
|
|
1181
1186
|
#### Parameters
|
|
1182
1187
|
|
|
@@ -1198,9 +1203,9 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:214](https://gitlab.co
|
|
|
1198
1203
|
|
|
1199
1204
|
#### Call Signature
|
|
1200
1205
|
|
|
1201
|
-
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P
|
|
1206
|
+
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
|
|
1202
1207
|
|
|
1203
|
-
Defined in: node\_modules/@angular/forms/
|
|
1208
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3133
|
|
1204
1209
|
|
|
1205
1210
|
Retrieves a child control given the control's name or path.
|
|
1206
1211
|
|
|
@@ -1218,7 +1223,7 @@ This signature for get supports strings and `const` arrays (`.get(['foo', 'bar']
|
|
|
1218
1223
|
|
|
1219
1224
|
##### Returns
|
|
1220
1225
|
|
|
1221
|
-
`null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P
|
|
1226
|
+
`null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
|
|
1222
1227
|
|
|
1223
1228
|
##### Implementation of
|
|
1224
1229
|
|
|
@@ -1230,9 +1235,9 @@ This signature for get supports strings and `const` arrays (`.get(['foo', 'bar']
|
|
|
1230
1235
|
|
|
1231
1236
|
#### Call Signature
|
|
1232
1237
|
|
|
1233
|
-
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P
|
|
1238
|
+
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
|
|
1234
1239
|
|
|
1235
|
-
Defined in: node\_modules/@angular/forms/
|
|
1240
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3140
|
|
1236
1241
|
|
|
1237
1242
|
Retrieves a child control given the control's name or path.
|
|
1238
1243
|
|
|
@@ -1251,7 +1256,7 @@ information will not be as robust, so prefer to pass a `readonly` array if possi
|
|
|
1251
1256
|
|
|
1252
1257
|
##### Returns
|
|
1253
1258
|
|
|
1254
|
-
`null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P
|
|
1259
|
+
`null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
|
|
1255
1260
|
|
|
1256
1261
|
##### Implementation of
|
|
1257
1262
|
|
|
@@ -1267,7 +1272,7 @@ information will not be as robust, so prefer to pass a `readonly` array if possi
|
|
|
1267
1272
|
|
|
1268
1273
|
> **getError**\<`K`\>(`errorCode`, `path`?): `null` \| `E`\[`K`\]
|
|
1269
1274
|
|
|
1270
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:411](https://gitlab.com/rxap/packages/-/blob/
|
|
1275
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:411](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L411)
|
|
1271
1276
|
|
|
1272
1277
|
#### Type Parameters
|
|
1273
1278
|
|
|
@@ -1330,7 +1335,7 @@ It can be provided to this method in one of two formats:
|
|
|
1330
1335
|
|
|
1331
1336
|
> **getRawValue**(): `T`[]
|
|
1332
1337
|
|
|
1333
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:150](https://gitlab.com/rxap/packages/-/blob/
|
|
1338
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:150](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L150)
|
|
1334
1339
|
|
|
1335
1340
|
The aggregate value of the array, including any disabled controls.
|
|
1336
1341
|
|
|
@@ -1354,7 +1359,7 @@ Reports all values regardless of disabled status.
|
|
|
1354
1359
|
|
|
1355
1360
|
> **hasAsyncValidator**(`validator`): `boolean`
|
|
1356
1361
|
|
|
1357
|
-
Defined in: node\_modules/@angular/forms/
|
|
1362
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2836
|
|
1358
1363
|
|
|
1359
1364
|
Check whether an asynchronous validator function is present on this control. The provided
|
|
1360
1365
|
validator must be a reference to the exact same function that was provided.
|
|
@@ -1388,7 +1393,7 @@ Whether the provided asynchronous validator was found on this control.
|
|
|
1388
1393
|
|
|
1389
1394
|
> **hasError**(`errorCode`, `path`?): `boolean`
|
|
1390
1395
|
|
|
1391
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:403](https://gitlab.com/rxap/packages/-/blob/
|
|
1396
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:403](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L403)
|
|
1392
1397
|
|
|
1393
1398
|
#### Parameters
|
|
1394
1399
|
|
|
@@ -1450,7 +1455,7 @@ If no path is given, this method checks for the error on the current control.
|
|
|
1450
1455
|
|
|
1451
1456
|
> **hasErrorAndDirty**(`errorCode`, `path`?): `boolean`
|
|
1452
1457
|
|
|
1453
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:317](https://gitlab.com/rxap/packages/-/blob/
|
|
1458
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:317](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L317)
|
|
1454
1459
|
|
|
1455
1460
|
#### Parameters
|
|
1456
1461
|
|
|
@@ -1472,7 +1477,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:317](https://gitlab.co
|
|
|
1472
1477
|
|
|
1473
1478
|
> **hasErrorAndTouched**(`errorCode`, `path`?): `boolean`
|
|
1474
1479
|
|
|
1475
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:265](https://gitlab.com/rxap/packages/-/blob/
|
|
1480
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:265](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L265)
|
|
1476
1481
|
|
|
1477
1482
|
#### Parameters
|
|
1478
1483
|
|
|
@@ -1494,7 +1499,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:265](https://gitlab.co
|
|
|
1494
1499
|
|
|
1495
1500
|
> **hasValidator**(`validator`): `boolean`
|
|
1496
1501
|
|
|
1497
|
-
Defined in: node\_modules/@angular/forms/
|
|
1502
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2827
|
|
1498
1503
|
|
|
1499
1504
|
Check whether a synchronous validator function is present on this control. The provided
|
|
1500
1505
|
validator must be a reference to the exact same function that was provided.
|
|
@@ -1515,9 +1520,7 @@ Whether the provided validator was found on this control.
|
|
|
1515
1520
|
|
|
1516
1521
|
#### Usage Notes
|
|
1517
1522
|
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
```
|
|
1523
|
+
```ts
|
|
1521
1524
|
// Reference to the RequiredValidator
|
|
1522
1525
|
const ctrl = new FormControl<number | null>(0, Validators.required);
|
|
1523
1526
|
expect(ctrl.hasValidator(Validators.required)).toEqual(true)
|
|
@@ -1543,7 +1546,7 @@ expect(ctrl.hasValidator(Validators.min(3))).toEqual(false)
|
|
|
1543
1546
|
|
|
1544
1547
|
> **insert**(`index`, `control`): `void`
|
|
1545
1548
|
|
|
1546
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:154](https://gitlab.com/rxap/packages/-/blob/
|
|
1549
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:154](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L154)
|
|
1547
1550
|
|
|
1548
1551
|
Insert a new `AbstractControl` at the given `index` in the array.
|
|
1549
1552
|
|
|
@@ -1577,7 +1580,7 @@ Form control to be inserted
|
|
|
1577
1580
|
|
|
1578
1581
|
> **insertAt**(`index`?, `state`?, `options`?): `void`
|
|
1579
1582
|
|
|
1580
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:169](https://gitlab.com/rxap/packages/-/blob/
|
|
1583
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:169](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L169)
|
|
1581
1584
|
|
|
1582
1585
|
inserts a new control at the specified index. If the index is undefined
|
|
1583
1586
|
the new control will be added to the end.
|
|
@@ -1612,19 +1615,34 @@ the new control will be added to the end.
|
|
|
1612
1615
|
|
|
1613
1616
|
> **markAllAsDirty**(): `void`
|
|
1614
1617
|
|
|
1615
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:233](https://gitlab.com/rxap/packages/-/blob/
|
|
1618
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:233](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L233)
|
|
1619
|
+
|
|
1620
|
+
Marks the control and all its descendant controls as `dirty`.
|
|
1616
1621
|
|
|
1617
1622
|
#### Returns
|
|
1618
1623
|
|
|
1619
1624
|
`void`
|
|
1620
1625
|
|
|
1626
|
+
#### See
|
|
1627
|
+
|
|
1628
|
+
- [()](../wiki/Class.RxapFormArray#markasdirty)
|
|
1629
|
+
- [Managing form control state](../wiki/guide/forms/reactive-forms#managing-form-control-state)
|
|
1630
|
+
|
|
1631
|
+
#### Implementation of
|
|
1632
|
+
|
|
1633
|
+
[`AbstractControl`](../wiki/Interface.AbstractControl).[`markAllAsDirty`](../wiki/Interface.AbstractControl#markallasdirty)
|
|
1634
|
+
|
|
1635
|
+
#### Overrides
|
|
1636
|
+
|
|
1637
|
+
`UntypedFormArray.markAllAsDirty`
|
|
1638
|
+
|
|
1621
1639
|
***
|
|
1622
1640
|
|
|
1623
1641
|
### markAllAsPristine()
|
|
1624
1642
|
|
|
1625
1643
|
> **markAllAsPristine**(): `void`
|
|
1626
1644
|
|
|
1627
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:237](https://gitlab.com/rxap/packages/-/blob/
|
|
1645
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:237](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L237)
|
|
1628
1646
|
|
|
1629
1647
|
#### Returns
|
|
1630
1648
|
|
|
@@ -1636,7 +1654,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:237](https://gitlab.co
|
|
|
1636
1654
|
|
|
1637
1655
|
> **markAllAsTouched**(`opts`?): `void`
|
|
1638
1656
|
|
|
1639
|
-
Defined in: node\_modules/@angular/forms/
|
|
1657
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2905
|
|
1640
1658
|
|
|
1641
1659
|
Marks the control and all its descendant controls as `touched`.
|
|
1642
1660
|
|
|
@@ -1660,7 +1678,8 @@ When false, no events are emitted.
|
|
|
1660
1678
|
|
|
1661
1679
|
#### See
|
|
1662
1680
|
|
|
1663
|
-
[()](../wiki/Class.RxapFormArray#markastouched)
|
|
1681
|
+
- [()](../wiki/Class.RxapFormArray#markastouched)
|
|
1682
|
+
- [Managing form control state](../wiki/guide/forms/reactive-forms#managing-form-control-state)
|
|
1664
1683
|
|
|
1665
1684
|
#### Implementation of
|
|
1666
1685
|
|
|
@@ -1676,7 +1695,7 @@ When false, no events are emitted.
|
|
|
1676
1695
|
|
|
1677
1696
|
> **markAllAsUntouched**(): `void`
|
|
1678
1697
|
|
|
1679
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:255](https://gitlab.com/rxap/packages/-/blob/
|
|
1698
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:255](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L255)
|
|
1680
1699
|
|
|
1681
1700
|
#### Returns
|
|
1682
1701
|
|
|
@@ -1688,7 +1707,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:255](https://gitlab.co
|
|
|
1688
1707
|
|
|
1689
1708
|
> **markAsDirty**(`opts`?): `void`
|
|
1690
1709
|
|
|
1691
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:374](https://gitlab.com/rxap/packages/-/blob/
|
|
1710
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:374](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L374)
|
|
1692
1711
|
|
|
1693
1712
|
Marks the control as `dirty`. A control becomes dirty when
|
|
1694
1713
|
the control's value is changed through the UI; compare `markAsTouched`.
|
|
@@ -1716,6 +1735,7 @@ When false, no events are emitted.
|
|
|
1716
1735
|
- [()](../wiki/Class.RxapFormArray#markastouched)
|
|
1717
1736
|
- [()](../wiki/Class.RxapFormArray#markasuntouched)
|
|
1718
1737
|
- [()](../wiki/Class.RxapFormArray#markaspristine)
|
|
1738
|
+
- [Managing form control state](../wiki/guide/forms/reactive-forms#managing-form-control-state)
|
|
1719
1739
|
|
|
1720
1740
|
#### Implementation of
|
|
1721
1741
|
|
|
@@ -1731,7 +1751,7 @@ When false, no events are emitted.
|
|
|
1731
1751
|
|
|
1732
1752
|
> **markAsPending**(`opts`?): `void`
|
|
1733
1753
|
|
|
1734
|
-
Defined in: node\_modules/@angular/forms/
|
|
1754
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2999
|
|
1735
1755
|
|
|
1736
1756
|
Marks the control as `pending`.
|
|
1737
1757
|
|
|
@@ -1780,7 +1800,7 @@ and the `events` observable emits a `StatusChangeEvent` with the `status` proper
|
|
|
1780
1800
|
|
|
1781
1801
|
> **markAsPristine**(`opts`?): `void`
|
|
1782
1802
|
|
|
1783
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:369](https://gitlab.com/rxap/packages/-/blob/
|
|
1803
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:369](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L369)
|
|
1784
1804
|
|
|
1785
1805
|
Marks the control as `pristine`.
|
|
1786
1806
|
|
|
@@ -1811,6 +1831,7 @@ When false, no events are emitted.
|
|
|
1811
1831
|
- [()](../wiki/Class.RxapFormArray#markastouched)
|
|
1812
1832
|
- [()](../wiki/Class.RxapFormArray#markasuntouched)
|
|
1813
1833
|
- [()](../wiki/Class.RxapFormArray#markasdirty)
|
|
1834
|
+
- [Managing form control state](../wiki/guide/forms/reactive-forms#managing-form-control-state)
|
|
1814
1835
|
|
|
1815
1836
|
#### Implementation of
|
|
1816
1837
|
|
|
@@ -1826,7 +1847,7 @@ When false, no events are emitted.
|
|
|
1826
1847
|
|
|
1827
1848
|
> **markAsTouched**(`opts`?): `void`
|
|
1828
1849
|
|
|
1829
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:359](https://gitlab.com/rxap/packages/-/blob/
|
|
1850
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:359](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L359)
|
|
1830
1851
|
|
|
1831
1852
|
Marks the control as `touched`. A control is touched by focus and
|
|
1832
1853
|
blur events that do not change the value.
|
|
@@ -1854,6 +1875,7 @@ When false, no events are emitted.
|
|
|
1854
1875
|
- [()](../wiki/Class.RxapFormArray#markasuntouched)
|
|
1855
1876
|
- [()](../wiki/Class.RxapFormArray#markasdirty)
|
|
1856
1877
|
- [()](../wiki/Class.RxapFormArray#markaspristine)
|
|
1878
|
+
- [Managing form control state](../wiki/guide/forms/reactive-forms#managing-form-control-state)
|
|
1857
1879
|
|
|
1858
1880
|
#### Implementation of
|
|
1859
1881
|
|
|
@@ -1869,7 +1891,7 @@ When false, no events are emitted.
|
|
|
1869
1891
|
|
|
1870
1892
|
> **markAsUntouched**(`opts`?): `void`
|
|
1871
1893
|
|
|
1872
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:364](https://gitlab.com/rxap/packages/-/blob/
|
|
1894
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:364](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L364)
|
|
1873
1895
|
|
|
1874
1896
|
Marks the control as `untouched`.
|
|
1875
1897
|
|
|
@@ -1899,6 +1921,7 @@ When false, no events are emitted.
|
|
|
1899
1921
|
- [()](../wiki/Class.RxapFormArray#markastouched)
|
|
1900
1922
|
- [()](../wiki/Class.RxapFormArray#markasdirty)
|
|
1901
1923
|
- [()](../wiki/Class.RxapFormArray#markaspristine)
|
|
1924
|
+
- [Managing form control state](../wiki/guide/forms/reactive-forms#managing-form-control-state)
|
|
1902
1925
|
|
|
1903
1926
|
#### Implementation of
|
|
1904
1927
|
|
|
@@ -1914,7 +1937,7 @@ When false, no events are emitted.
|
|
|
1914
1937
|
|
|
1915
1938
|
> **mergeAsyncValidators**(`validators`): `void`
|
|
1916
1939
|
|
|
1917
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:225](https://gitlab.com/rxap/packages/-/blob/
|
|
1940
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:225](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L225)
|
|
1918
1941
|
|
|
1919
1942
|
#### Parameters
|
|
1920
1943
|
|
|
@@ -1932,7 +1955,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:225](https://gitlab.co
|
|
|
1932
1955
|
|
|
1933
1956
|
> **mergeValidators**(`validators`): `void`
|
|
1934
1957
|
|
|
1935
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:221](https://gitlab.com/rxap/packages/-/blob/
|
|
1958
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:221](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L221)
|
|
1936
1959
|
|
|
1937
1960
|
#### Parameters
|
|
1938
1961
|
|
|
@@ -1950,7 +1973,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:221](https://gitlab.co
|
|
|
1950
1973
|
|
|
1951
1974
|
> **patchValue**(`valueOrObservable`, `options`?): `void` \| `Subscription`
|
|
1952
1975
|
|
|
1953
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:304](https://gitlab.com/rxap/packages/-/blob/
|
|
1976
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:304](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L304)
|
|
1954
1977
|
|
|
1955
1978
|
Patches the value of the `FormArray`. It accepts an array that matches the
|
|
1956
1979
|
structure of the control, and does its best to match the values to the correct
|
|
@@ -2011,7 +2034,7 @@ console.log(arr.value); // ['Nancy', null]
|
|
|
2011
2034
|
|
|
2012
2035
|
> **push**(`control`, `options`?): `void`
|
|
2013
2036
|
|
|
2014
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:341](https://gitlab.com/rxap/packages/-/blob/
|
|
2037
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:341](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L341)
|
|
2015
2038
|
|
|
2016
2039
|
Insert a new `AbstractControl` at the end of the array.
|
|
2017
2040
|
|
|
@@ -2033,6 +2056,8 @@ Specifies whether this FormArray instance should emit events after a new
|
|
|
2033
2056
|
`valueChanges` observables emit events with the latest status and value when the control is
|
|
2034
2057
|
inserted. When false, no events are emitted.
|
|
2035
2058
|
|
|
2059
|
+
NOTE: Pushing to the FormArray will not mark it dirty. If you want to mark if dirty, call `markAsDirty()`.
|
|
2060
|
+
|
|
2036
2061
|
#### Returns
|
|
2037
2062
|
|
|
2038
2063
|
`void`
|
|
@@ -2047,7 +2072,7 @@ inserted. When false, no events are emitted.
|
|
|
2047
2072
|
|
|
2048
2073
|
> **removeAsyncValidators**(`validators`): `void`
|
|
2049
2074
|
|
|
2050
|
-
Defined in: node\_modules/@angular/forms/
|
|
2075
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2805
|
|
2051
2076
|
|
|
2052
2077
|
Remove an asynchronous validator from this control, without affecting other validators.
|
|
2053
2078
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
@@ -2083,7 +2108,7 @@ The asynchronous validator or validators to remove.
|
|
|
2083
2108
|
|
|
2084
2109
|
> **removeAt**(`index`, `opts`?): `void`
|
|
2085
2110
|
|
|
2086
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:324](https://gitlab.com/rxap/packages/-/blob/
|
|
2111
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:324](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L324)
|
|
2087
2112
|
|
|
2088
2113
|
Remove the control at the given `index` in the array.
|
|
2089
2114
|
|
|
@@ -2115,7 +2140,7 @@ Index in the array to remove the control. If `index` is negative, wraps around
|
|
|
2115
2140
|
|
|
2116
2141
|
> **removeValidators**(`validators`): `void`
|
|
2117
2142
|
|
|
2118
|
-
Defined in: node\_modules/@angular/forms/
|
|
2143
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2793
|
|
2119
2144
|
|
|
2120
2145
|
Remove a synchronous validator from this control, without affecting other validators.
|
|
2121
2146
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
@@ -2136,9 +2161,7 @@ The validator or validators to remove.
|
|
|
2136
2161
|
|
|
2137
2162
|
#### Usage Notes
|
|
2138
2163
|
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
```
|
|
2164
|
+
```ts
|
|
2142
2165
|
// Reference to the RequiredValidator
|
|
2143
2166
|
const ctrl = new FormControl<string | null>('', Validators.required);
|
|
2144
2167
|
ctrl.removeValidators(Validators.required);
|
|
@@ -2169,7 +2192,7 @@ When you add or remove a validator at run time, you must call
|
|
|
2169
2192
|
|
|
2170
2193
|
> **reset**(`value`?, `options`?): `void`
|
|
2171
2194
|
|
|
2172
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:379](https://gitlab.com/rxap/packages/-/blob/
|
|
2195
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:379](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L379)
|
|
2173
2196
|
|
|
2174
2197
|
Resets the `FormArray` and all descendants are marked `pristine` and `untouched`, and the
|
|
2175
2198
|
value of all descendants to null or null maps.
|
|
@@ -2245,7 +2268,7 @@ console.log(arr.at(0).status); // 'DISABLED'
|
|
|
2245
2268
|
|
|
2246
2269
|
> **select**\<`R`\>(`mapFn`): `Observable`\<`R`\>
|
|
2247
2270
|
|
|
2248
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:142](https://gitlab.com/rxap/packages/-/blob/
|
|
2271
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:142](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L142)
|
|
2249
2272
|
|
|
2250
2273
|
#### Type Parameters
|
|
2251
2274
|
|
|
@@ -2267,7 +2290,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:142](https://gitlab.co
|
|
|
2267
2290
|
|
|
2268
2291
|
> **setAsyncValidators**(`newValidator`, `updateValueAndValidity`): `void`
|
|
2269
2292
|
|
|
2270
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:393](https://gitlab.com/rxap/packages/-/blob/
|
|
2293
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:393](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L393)
|
|
2271
2294
|
|
|
2272
2295
|
Sets the asynchronous validators that are active on this control. Calling this
|
|
2273
2296
|
overwrites any existing asynchronous validators.
|
|
@@ -2306,7 +2329,7 @@ using `addAsyncValidators()` method instead.
|
|
|
2306
2329
|
|
|
2307
2330
|
> **setControl**(`index`, `control`, `options`?): `void`
|
|
2308
2331
|
|
|
2309
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:352](https://gitlab.com/rxap/packages/-/blob/
|
|
2332
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:352](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L352)
|
|
2310
2333
|
|
|
2311
2334
|
Replace an existing control.
|
|
2312
2335
|
|
|
@@ -2350,7 +2373,7 @@ replaced with a new one. When false, no events are emitted.
|
|
|
2350
2373
|
|
|
2351
2374
|
> **setDisable**(`disable`, `opts`?): `void`
|
|
2352
2375
|
|
|
2353
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:348](https://gitlab.com/rxap/packages/-/blob/
|
|
2376
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:348](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L348)
|
|
2354
2377
|
|
|
2355
2378
|
#### Parameters
|
|
2356
2379
|
|
|
@@ -2372,7 +2395,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:348](https://gitlab.co
|
|
|
2372
2395
|
|
|
2373
2396
|
> **setEnable**(`enable`, `opts`?): `void`
|
|
2374
2397
|
|
|
2375
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:337](https://gitlab.com/rxap/packages/-/blob/
|
|
2398
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:337](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L337)
|
|
2376
2399
|
|
|
2377
2400
|
#### Parameters
|
|
2378
2401
|
|
|
@@ -2394,12 +2417,14 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:337](https://gitlab.co
|
|
|
2394
2417
|
|
|
2395
2418
|
> **setErrors**(`errors`, `opts`): `void`
|
|
2396
2419
|
|
|
2397
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:407](https://gitlab.com/rxap/packages/-/blob/
|
|
2420
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:407](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L407)
|
|
2398
2421
|
|
|
2399
2422
|
Sets errors on a form control when running validations manually, rather than automatically.
|
|
2400
2423
|
|
|
2401
2424
|
Calling `setErrors` also updates the validity of the parent control.
|
|
2402
2425
|
|
|
2426
|
+
Note: Manually set errors are always overwritten by the results of the next validation run.
|
|
2427
|
+
|
|
2403
2428
|
#### Parameters
|
|
2404
2429
|
|
|
2405
2430
|
##### errors
|
|
@@ -2451,7 +2476,7 @@ expect(login.valid).toEqual(true);
|
|
|
2451
2476
|
|
|
2452
2477
|
> **setParent**(`parent`): `void`
|
|
2453
2478
|
|
|
2454
|
-
Defined in: node\_modules/@angular/forms/
|
|
2479
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3052
|
|
2455
2480
|
|
|
2456
2481
|
Sets the parent of the control
|
|
2457
2482
|
|
|
@@ -2481,7 +2506,7 @@ The new parent.
|
|
|
2481
2506
|
|
|
2482
2507
|
> **setValidators**(`newValidator`, `updateValueAndValidity`): `void`
|
|
2483
2508
|
|
|
2484
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:383](https://gitlab.com/rxap/packages/-/blob/
|
|
2509
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:383](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L383)
|
|
2485
2510
|
|
|
2486
2511
|
Sets the synchronous validators that are active on this control. Calling
|
|
2487
2512
|
this overwrites any existing synchronous validators.
|
|
@@ -2520,7 +2545,7 @@ using `addValidators()` method instead.
|
|
|
2520
2545
|
|
|
2521
2546
|
> **setValue**(`valueOrObservable`, `options`?): `void` \| `Subscription`
|
|
2522
2547
|
|
|
2523
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:241](https://gitlab.com/rxap/packages/-/blob/
|
|
2548
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:241](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L241)
|
|
2524
2549
|
|
|
2525
2550
|
Sets the value of the `FormArray`. It accepts an array that matches
|
|
2526
2551
|
the structure of the control.
|
|
@@ -2583,7 +2608,7 @@ console.log(arr.value); // ['Nancy', 'Drew']
|
|
|
2583
2608
|
|
|
2584
2609
|
> **updateValueAndValidity**(`opts`?): `void`
|
|
2585
2610
|
|
|
2586
|
-
Defined in: node\_modules/@angular/forms/
|
|
2611
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3087
|
|
2587
2612
|
|
|
2588
2613
|
Recalculates the value and validation status of the control.
|
|
2589
2614
|
|
|
@@ -2614,6 +2639,10 @@ When false, no events are emitted.
|
|
|
2614
2639
|
|
|
2615
2640
|
`void`
|
|
2616
2641
|
|
|
2642
|
+
#### See
|
|
2643
|
+
|
|
2644
|
+
[Understanding propagation control](../wiki/guide/forms/reactive-forms#understanding-event-emission)
|
|
2645
|
+
|
|
2617
2646
|
#### Implementation of
|
|
2618
2647
|
|
|
2619
2648
|
[`AbstractControl`](../wiki/Interface.AbstractControl).[`updateValueAndValidity`](../wiki/Interface.AbstractControl#updatevalueandvalidity)
|
|
@@ -2628,7 +2657,7 @@ When false, no events are emitted.
|
|
|
2628
2657
|
|
|
2629
2658
|
> **validateOn**(`observableValidation`): `Subscription`
|
|
2630
2659
|
|
|
2631
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:259](https://gitlab.com/rxap/packages/-/blob/
|
|
2660
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:259](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-array.ts#L259)
|
|
2632
2661
|
|
|
2633
2662
|
#### Parameters
|
|
2634
2663
|
|