@rxap/forms 19.0.3 → 19.0.4-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 +4 -0
- package/compodoc/changelog.html +2 -0
- package/compodoc/dependencies.html +9 -9
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +1517 -1533
- 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 +31 -31
- package/docs/html/classes/FormDirective.html +44 -44
- package/docs/html/classes/FormGroupNameDirective.html +26 -26
- 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 +49 -51
- package/docs/html/classes/RxapFormBuilder.html +2 -2
- package/docs/html/classes/RxapFormControl.html +45 -47
- package/docs/html/classes/RxapFormGroup.html +46 -48
- 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/ToMethodWithInjectionContext.html +1 -1
- package/docs/html/functions/ToMethodWithInjectionContextFactory.html +1 -1
- 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 +37 -39
- 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 +3 -3
- 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 +5 -5
- 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 +35 -35
- package/docs/markdown/classes/FormDirective.md +83 -83
- package/docs/markdown/classes/FormGroupNameDirective.md +30 -30
- 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 +12 -12
- 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 +74 -78
- package/docs/markdown/classes/RxapFormBuilder.md +4 -4
- package/docs/markdown/classes/RxapFormControl.md +72 -76
- package/docs/markdown/classes/RxapFormGroup.md +92 -96
- 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/ToMethodWithInjectionContext.md +2 -2
- package/docs/markdown/functions/ToMethodWithInjectionContextFactory.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 +41 -45
- 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 +9 -9
- package/docs/markdown/interfaces/ControlSetValueOptions.md +4 -4
- package/docs/markdown/interfaces/FormArrayOptions.md +14 -14
- package/docs/markdown/interfaces/FormDefinition.md +7 -7
- package/docs/markdown/interfaces/FormDefinitionArray.md +3 -3
- package/docs/markdown/interfaces/FormDefinitionMetadata.md +13 -13
- package/docs/markdown/interfaces/FormGroupOptions.md +11 -11
- 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 +11 -11
- 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 +10 -10
- package/docs/markdown/interfaces/RxapAbstractControlOptionsWithDefinition.md +11 -11
- 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 +4 -4
- 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 +34 -34
- package/docs/wiki/Class.FormDirective.md +82 -82
- package/docs/wiki/Class.FormGroupNameDirective.md +29 -29
- 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 +11 -11
- 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 +73 -77
- package/docs/wiki/Class.RxapFormBuilder.md +3 -3
- package/docs/wiki/Class.RxapFormControl.md +71 -75
- package/docs/wiki/Class.RxapFormGroup.md +91 -95
- 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.ToMethodWithInjectionContext.md +1 -1
- package/docs/wiki/Function.ToMethodWithInjectionContextFactory.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 +40 -44
- 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 +8 -8
- package/docs/wiki/Interface.ControlSetValueOptions.md +3 -3
- package/docs/wiki/Interface.FormArrayOptions.md +13 -13
- package/docs/wiki/Interface.FormDefinition.md +6 -6
- package/docs/wiki/Interface.FormDefinitionArray.md +2 -2
- package/docs/wiki/Interface.FormDefinitionMetadata.md +12 -12
- package/docs/wiki/Interface.FormGroupOptions.md +10 -10
- 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 +10 -10
- 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 +10 -10
- package/docs/wiki/Interface._RxapAbstractControlOptions.md +9 -9
- 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 +58 -58
- package/package.json +21 -21
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: RxapFormControl\<T, E, Parent\>
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:44](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:44](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L44)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -22,7 +22,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:44](https://gitlab.c
|
|
|
22
22
|
|
|
23
23
|
> **new RxapFormControl**\<`T`, `E`, `Parent`\>(`formState`, `options`): [`RxapFormControl`](../wiki/Class.RxapFormControl)\<`T`, `E`, `Parent`\>
|
|
24
24
|
|
|
25
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:126](https://gitlab.com/rxap/packages/-/blob/
|
|
25
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:126](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L126)
|
|
26
26
|
|
|
27
27
|
#### Parameters
|
|
28
28
|
|
|
@@ -48,7 +48,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:126](https://gitlab.
|
|
|
48
48
|
|
|
49
49
|
> `readonly` **controlId**: `string`
|
|
50
50
|
|
|
51
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:95](https://gitlab.com/rxap/packages/-/blob/
|
|
51
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:95](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L95)
|
|
52
52
|
|
|
53
53
|
***
|
|
54
54
|
|
|
@@ -56,7 +56,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:95](https://gitlab.c
|
|
|
56
56
|
|
|
57
57
|
> `readonly` **defaultValue**: `any`
|
|
58
58
|
|
|
59
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
59
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2194
|
|
60
60
|
|
|
61
61
|
The default value of this FormControl, used whenever the control is reset without an explicit
|
|
62
62
|
value. See FormControlOptions#nonNullable for more information on configuring
|
|
@@ -72,7 +72,7 @@ a default value.
|
|
|
72
72
|
|
|
73
73
|
> `readonly` **dirty$**: `Observable`\<`boolean`\>
|
|
74
74
|
|
|
75
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:75](https://gitlab.com/rxap/packages/-/blob/
|
|
75
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:75](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L75)
|
|
76
76
|
|
|
77
77
|
***
|
|
78
78
|
|
|
@@ -80,7 +80,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:75](https://gitlab.c
|
|
|
80
80
|
|
|
81
81
|
> `readonly` **disabled$**: `Observable`\<`boolean`\>
|
|
82
82
|
|
|
83
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:80](https://gitlab.com/rxap/packages/-/blob/
|
|
83
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:80](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L80)
|
|
84
84
|
|
|
85
85
|
***
|
|
86
86
|
|
|
@@ -88,7 +88,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:80](https://gitlab.c
|
|
|
88
88
|
|
|
89
89
|
> `readonly` **enabled$**: `Observable`\<`boolean`\>
|
|
90
90
|
|
|
91
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:81](https://gitlab.com/rxap/packages/-/blob/
|
|
91
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:81](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L81)
|
|
92
92
|
|
|
93
93
|
***
|
|
94
94
|
|
|
@@ -96,7 +96,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:81](https://gitlab.c
|
|
|
96
96
|
|
|
97
97
|
> `readonly` **errors**: `null` \| `E`
|
|
98
98
|
|
|
99
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:59](https://gitlab.com/rxap/packages/-/blob/
|
|
99
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:59](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L59)
|
|
100
100
|
|
|
101
101
|
An object containing any errors generated by failing validation,
|
|
102
102
|
or null if there are no errors.
|
|
@@ -111,7 +111,7 @@ or null if there are no errors.
|
|
|
111
111
|
|
|
112
112
|
> `readonly` **errors$**: `Observable`\<`null` \| `E`\>
|
|
113
113
|
|
|
114
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:93](https://gitlab.com/rxap/packages/-/blob/
|
|
114
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:93](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L93)
|
|
115
115
|
|
|
116
116
|
***
|
|
117
117
|
|
|
@@ -141,7 +141,7 @@ For other event types, the events are emitted after the parent control has been
|
|
|
141
141
|
|
|
142
142
|
> `readonly` **initialState**: [`OrBoxedValue`](../wiki/TypeAlias.OrBoxedValue)\<`T`\>
|
|
143
143
|
|
|
144
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:66](https://gitlab.com/rxap/packages/-/blob/
|
|
144
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:66](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L66)
|
|
145
145
|
|
|
146
146
|
***
|
|
147
147
|
|
|
@@ -149,7 +149,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:66](https://gitlab.c
|
|
|
149
149
|
|
|
150
150
|
> `readonly` **readonly$**: `Observable`\<`boolean`\>
|
|
151
151
|
|
|
152
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:100](https://gitlab.com/rxap/packages/-/blob/
|
|
152
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:100](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L100)
|
|
153
153
|
|
|
154
154
|
***
|
|
155
155
|
|
|
@@ -157,7 +157,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:100](https://gitlab.
|
|
|
157
157
|
|
|
158
158
|
> `readonly` **stateChanges**: `Subject`\<`void`\>
|
|
159
159
|
|
|
160
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:99](https://gitlab.com/rxap/packages/-/blob/
|
|
160
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:99](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L99)
|
|
161
161
|
|
|
162
162
|
***
|
|
163
163
|
|
|
@@ -165,7 +165,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:99](https://gitlab.c
|
|
|
165
165
|
|
|
166
166
|
> `readonly` **status**: [`ControlState`](../wiki/TypeAlias.ControlState)
|
|
167
167
|
|
|
168
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:64](https://gitlab.com/rxap/packages/-/blob/
|
|
168
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:64](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L64)
|
|
169
169
|
|
|
170
170
|
The validation status of the control.
|
|
171
171
|
|
|
@@ -186,7 +186,7 @@ both valid AND invalid or invalid AND disabled.
|
|
|
186
186
|
|
|
187
187
|
> `readonly` **status$**: `Observable`\<[`ControlState`](../wiki/TypeAlias.ControlState)\>
|
|
188
188
|
|
|
189
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:92](https://gitlab.com/rxap/packages/-/blob/
|
|
189
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:92](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L92)
|
|
190
190
|
|
|
191
191
|
***
|
|
192
192
|
|
|
@@ -194,7 +194,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:92](https://gitlab.c
|
|
|
194
194
|
|
|
195
195
|
> `readonly` **statusChanges**: `Observable`\<[`ControlState`](../wiki/TypeAlias.ControlState)\>
|
|
196
196
|
|
|
197
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:65](https://gitlab.com/rxap/packages/-/blob/
|
|
197
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:65](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L65)
|
|
198
198
|
|
|
199
199
|
A multicasting observable that emits an event every time the validation `status` of the control
|
|
200
200
|
recalculates.
|
|
@@ -204,8 +204,6 @@ recalculates.
|
|
|
204
204
|
- FormControlStatus
|
|
205
205
|
- [AbstractControl.status](../wiki/Interface.AbstractControl#status)
|
|
206
206
|
|
|
207
|
-
TODO: this should be piped from events() but is breaking in G3
|
|
208
|
-
|
|
209
207
|
#### Overrides
|
|
210
208
|
|
|
211
209
|
`UntypedFormControl.statusChanges`
|
|
@@ -216,7 +214,7 @@ TODO: this should be piped from events() but is breaking in G3
|
|
|
216
214
|
|
|
217
215
|
> `readonly` **touch$**: `Observable`\<`boolean`\>
|
|
218
216
|
|
|
219
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:72](https://gitlab.com/rxap/packages/-/blob/
|
|
217
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:72](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L72)
|
|
220
218
|
|
|
221
219
|
***
|
|
222
220
|
|
|
@@ -224,7 +222,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:72](https://gitlab.c
|
|
|
224
222
|
|
|
225
223
|
> `readonly` **value**: `T`
|
|
226
224
|
|
|
227
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:58](https://gitlab.com/rxap/packages/-/blob/
|
|
225
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:58](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L58)
|
|
228
226
|
|
|
229
227
|
The current value of the control.
|
|
230
228
|
|
|
@@ -245,7 +243,7 @@ with a key-value pair for each member of the group.
|
|
|
245
243
|
|
|
246
244
|
> `readonly` **value$**: `Observable`\<`T`\>
|
|
247
245
|
|
|
248
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:79](https://gitlab.com/rxap/packages/-/blob/
|
|
246
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:79](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L79)
|
|
249
247
|
|
|
250
248
|
***
|
|
251
249
|
|
|
@@ -253,7 +251,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:79](https://gitlab.c
|
|
|
253
251
|
|
|
254
252
|
> `readonly` **valueChanges**: `Observable`\<`T`\>
|
|
255
253
|
|
|
256
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:62](https://gitlab.com/rxap/packages/-/blob/
|
|
254
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:62](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L62)
|
|
257
255
|
|
|
258
256
|
A multicasting observable that emits an event every time the value of the control changes, in
|
|
259
257
|
the UI or programmatically. It also emits an event each time you call enable() or disable()
|
|
@@ -265,8 +263,6 @@ accessing a value of a parent control (using the `value` property) from the call
|
|
|
265
263
|
event might result in getting a value that has not been updated yet. Subscribe to the
|
|
266
264
|
`valueChanges` event of the parent control instead.
|
|
267
265
|
|
|
268
|
-
TODO: this should be piped from events() but is breaking in G3
|
|
269
|
-
|
|
270
266
|
#### Overrides
|
|
271
267
|
|
|
272
268
|
`UntypedFormControl.valueChanges`
|
|
@@ -317,7 +313,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:80
|
|
|
317
313
|
|
|
318
314
|
> **get** **controlPath**(): `string`
|
|
319
315
|
|
|
320
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:102](https://gitlab.com/rxap/packages/-/blob/
|
|
316
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:102](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L102)
|
|
321
317
|
|
|
322
318
|
##### Returns
|
|
323
319
|
|
|
@@ -412,7 +408,7 @@ false if the status is 'DISABLED'.
|
|
|
412
408
|
|
|
413
409
|
> **get** **fullControlPath**(): `string`
|
|
414
410
|
|
|
415
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:116](https://gitlab.com/rxap/packages/-/blob/
|
|
411
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:116](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L116)
|
|
416
412
|
|
|
417
413
|
##### Returns
|
|
418
414
|
|
|
@@ -540,7 +536,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:158
|
|
|
540
536
|
|
|
541
537
|
> **get** **readonly**(): `boolean`
|
|
542
538
|
|
|
543
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:83](https://gitlab.com/rxap/packages/-/blob/
|
|
539
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:83](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L83)
|
|
544
540
|
|
|
545
541
|
##### Returns
|
|
546
542
|
|
|
@@ -550,7 +546,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:83](https://gitlab.c
|
|
|
550
546
|
|
|
551
547
|
> **set** **readonly**(`value`): `void`
|
|
552
548
|
|
|
553
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:87](https://gitlab.com/rxap/packages/-/blob/
|
|
549
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:87](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L87)
|
|
554
550
|
|
|
555
551
|
##### Parameters
|
|
556
552
|
|
|
@@ -570,7 +566,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:87](https://gitlab.c
|
|
|
570
566
|
|
|
571
567
|
> **get** **root**(): `AbstractControl`
|
|
572
568
|
|
|
573
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
569
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:676
|
|
574
570
|
|
|
575
571
|
Retrieves the top-level ancestor of this control.
|
|
576
572
|
|
|
@@ -590,7 +586,7 @@ Retrieves the top-level ancestor of this control.
|
|
|
590
586
|
|
|
591
587
|
> **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`\>
|
|
592
588
|
|
|
593
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:52](https://gitlab.com/rxap/packages/-/blob/
|
|
589
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:52](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L52)
|
|
594
590
|
|
|
595
591
|
**`Internal`**
|
|
596
592
|
|
|
@@ -668,7 +664,7 @@ a `blur` event on it.
|
|
|
668
664
|
|
|
669
665
|
> **get** **updateOn**(): `FormHooks`
|
|
670
666
|
|
|
671
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
667
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:223
|
|
672
668
|
|
|
673
669
|
Reports the update strategy of the `AbstractControl` (meaning
|
|
674
670
|
the event on which the control updates itself).
|
|
@@ -754,7 +750,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:73
|
|
|
754
750
|
|
|
755
751
|
> **addAsyncValidators**(`validators`): `void`
|
|
756
752
|
|
|
757
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
753
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:270
|
|
758
754
|
|
|
759
755
|
Add an asynchronous validator or validators to this control, without affecting other
|
|
760
756
|
validators.
|
|
@@ -786,7 +782,7 @@ The new asynchronous validator function or functions to add to this control.
|
|
|
786
782
|
|
|
787
783
|
> **addValidators**(`validators`): `void`
|
|
788
784
|
|
|
789
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
785
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:258
|
|
790
786
|
|
|
791
787
|
Add a synchronous validator or validators to this control, without affecting other validators.
|
|
792
788
|
|
|
@@ -819,7 +815,7 @@ The new validator function or functions to add to this control.
|
|
|
819
815
|
|
|
820
816
|
> **clearAsyncValidators**(): `void`
|
|
821
817
|
|
|
822
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
818
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:361
|
|
823
819
|
|
|
824
820
|
Empties out the async validator list.
|
|
825
821
|
|
|
@@ -840,7 +836,7 @@ When you add or remove a validator at run time, you must call
|
|
|
840
836
|
|
|
841
837
|
> **clearValidators**(): `void`
|
|
842
838
|
|
|
843
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
839
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:353
|
|
844
840
|
|
|
845
841
|
Empties out the synchronous validator list.
|
|
846
842
|
|
|
@@ -861,7 +857,7 @@ When you add or remove a validator at run time, you must call
|
|
|
861
857
|
|
|
862
858
|
> **disable**(`opts`?): `void`
|
|
863
859
|
|
|
864
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
860
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:498
|
|
865
861
|
|
|
866
862
|
Disables the control. This means the control is exempt from validation checks and
|
|
867
863
|
excluded from the aggregate value of any parent. Its status is `DISABLED`.
|
|
@@ -907,7 +903,7 @@ When false, no events are emitted.
|
|
|
907
903
|
|
|
908
904
|
> **disabledWhile**(`observable`, `options`?): `Subscription`
|
|
909
905
|
|
|
910
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:181](https://gitlab.com/rxap/packages/-/blob/
|
|
906
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:181](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L181)
|
|
911
907
|
|
|
912
908
|
#### Parameters
|
|
913
909
|
|
|
@@ -929,7 +925,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:181](https://gitlab.
|
|
|
929
925
|
|
|
930
926
|
> **enable**(`opts`?): `void`
|
|
931
927
|
|
|
932
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
928
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:520
|
|
933
929
|
|
|
934
930
|
Enables the control. This means the control is included in validation checks and
|
|
935
931
|
the aggregate value of its parent. Its status recalculates based on its value and
|
|
@@ -976,7 +972,7 @@ When false, no events are emitted.
|
|
|
976
972
|
|
|
977
973
|
> **enabledWhile**(`observable`, `options`?): `Subscription`
|
|
978
974
|
|
|
979
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:188](https://gitlab.com/rxap/packages/-/blob/
|
|
975
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:188](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L188)
|
|
980
976
|
|
|
981
977
|
#### Parameters
|
|
982
978
|
|
|
@@ -1000,7 +996,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:188](https://gitlab.
|
|
|
1000
996
|
|
|
1001
997
|
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>\>
|
|
1002
998
|
|
|
1003
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
999
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:606
|
|
1004
1000
|
|
|
1005
1001
|
Retrieves a child control given the control's name or path.
|
|
1006
1002
|
|
|
@@ -1028,7 +1024,7 @@ This signature for get supports strings and `const` arrays (`.get(['foo', 'bar']
|
|
|
1028
1024
|
|
|
1029
1025
|
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>\>
|
|
1030
1026
|
|
|
1031
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1027
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:613
|
|
1032
1028
|
|
|
1033
1029
|
Retrieves a child control given the control's name or path.
|
|
1034
1030
|
|
|
@@ -1059,7 +1055,7 @@ information will not be as robust, so prefer to pass a `readonly` array if possi
|
|
|
1059
1055
|
|
|
1060
1056
|
> **getError**\<`K`\>(`errorCode`): `null` \| `E`\[`K`\]
|
|
1061
1057
|
|
|
1062
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:269](https://gitlab.com/rxap/packages/-/blob/
|
|
1058
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:269](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L269)
|
|
1063
1059
|
|
|
1064
1060
|
#### Type Parameters
|
|
1065
1061
|
|
|
@@ -1111,7 +1107,7 @@ It can be provided to this method in one of two formats:
|
|
|
1111
1107
|
|
|
1112
1108
|
> **getRawValue**(): `any`
|
|
1113
1109
|
|
|
1114
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1110
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2279
|
|
1115
1111
|
|
|
1116
1112
|
For a simple FormControl, the raw value is equivalent to the value.
|
|
1117
1113
|
|
|
@@ -1129,7 +1125,7 @@ For a simple FormControl, the raw value is equivalent to the value.
|
|
|
1129
1125
|
|
|
1130
1126
|
> **hasAsyncValidator**(`validator`): `boolean`
|
|
1131
1127
|
|
|
1132
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1128
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:345
|
|
1133
1129
|
|
|
1134
1130
|
Check whether an asynchronous validator function is present on this control. The provided
|
|
1135
1131
|
validator must be a reference to the exact same function that was provided.
|
|
@@ -1159,7 +1155,7 @@ Whether the provided asynchronous validator was found on this control.
|
|
|
1159
1155
|
|
|
1160
1156
|
> **hasError**\<`K`\>(`errorCode`): `boolean`
|
|
1161
1157
|
|
|
1162
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:273](https://gitlab.com/rxap/packages/-/blob/
|
|
1158
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:273](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L273)
|
|
1163
1159
|
|
|
1164
1160
|
#### Type Parameters
|
|
1165
1161
|
|
|
@@ -1214,7 +1210,7 @@ If no path is given, this method checks for the error on the current control.
|
|
|
1214
1210
|
|
|
1215
1211
|
> **hasErrorAndDirty**(`error`): `boolean`
|
|
1216
1212
|
|
|
1217
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:289](https://gitlab.com/rxap/packages/-/blob/
|
|
1213
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:289](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L289)
|
|
1218
1214
|
|
|
1219
1215
|
#### Parameters
|
|
1220
1216
|
|
|
@@ -1232,7 +1228,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:289](https://gitlab.
|
|
|
1232
1228
|
|
|
1233
1229
|
> **hasErrorAndTouched**(`error`): `boolean`
|
|
1234
1230
|
|
|
1235
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:285](https://gitlab.com/rxap/packages/-/blob/
|
|
1231
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:285](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L285)
|
|
1236
1232
|
|
|
1237
1233
|
#### Parameters
|
|
1238
1234
|
|
|
@@ -1250,7 +1246,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:285](https://gitlab.
|
|
|
1250
1246
|
|
|
1251
1247
|
> **hasValidator**(`validator`): `boolean`
|
|
1252
1248
|
|
|
1253
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1249
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:336
|
|
1254
1250
|
|
|
1255
1251
|
Check whether a synchronous validator function is present on this control. The provided
|
|
1256
1252
|
validator must be a reference to the exact same function that was provided.
|
|
@@ -1295,7 +1291,7 @@ expect(ctrl.hasValidator(Validators.min(3))).toEqual(false)
|
|
|
1295
1291
|
|
|
1296
1292
|
> **markAllAsDirty**(): `void`
|
|
1297
1293
|
|
|
1298
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:228](https://gitlab.com/rxap/packages/-/blob/
|
|
1294
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:228](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L228)
|
|
1299
1295
|
|
|
1300
1296
|
#### Returns
|
|
1301
1297
|
|
|
@@ -1307,7 +1303,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:228](https://gitlab.
|
|
|
1307
1303
|
|
|
1308
1304
|
> **markAllAsTouched**(`opts`?): `void`
|
|
1309
1305
|
|
|
1310
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1306
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:392
|
|
1311
1307
|
|
|
1312
1308
|
Marks the control and all its descendant controls as `touched`.
|
|
1313
1309
|
|
|
@@ -1343,7 +1339,7 @@ When false, no events are emitted.
|
|
|
1343
1339
|
|
|
1344
1340
|
> **markAsDirty**(`opts`?): `void`
|
|
1345
1341
|
|
|
1346
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:223](https://gitlab.com/rxap/packages/-/blob/
|
|
1342
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:223](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L223)
|
|
1347
1343
|
|
|
1348
1344
|
Marks the control as `dirty`. A control becomes dirty when
|
|
1349
1345
|
the control's value is changed through the UI; compare `markAsTouched`.
|
|
@@ -1382,7 +1378,7 @@ When false, no events are emitted.
|
|
|
1382
1378
|
|
|
1383
1379
|
> **markAsPending**(`opts`?): `void`
|
|
1384
1380
|
|
|
1385
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1381
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:477
|
|
1386
1382
|
|
|
1387
1383
|
Marks the control as `pending`.
|
|
1388
1384
|
|
|
@@ -1427,7 +1423,7 @@ and the `events` observable emits a `StatusChangeEvent` with the `status` proper
|
|
|
1427
1423
|
|
|
1428
1424
|
> **markAsPristine**(`opts`?): `void`
|
|
1429
1425
|
|
|
1430
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:218](https://gitlab.com/rxap/packages/-/blob/
|
|
1426
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:218](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L218)
|
|
1431
1427
|
|
|
1432
1428
|
Marks the control as `pristine`.
|
|
1433
1429
|
|
|
@@ -1469,7 +1465,7 @@ When false, no events are emitted.
|
|
|
1469
1465
|
|
|
1470
1466
|
> **markAsTouched**(`opts`?): `void`
|
|
1471
1467
|
|
|
1472
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:208](https://gitlab.com/rxap/packages/-/blob/
|
|
1468
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:208](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L208)
|
|
1473
1469
|
|
|
1474
1470
|
Marks the control as `touched`. A control is touched by focus and
|
|
1475
1471
|
blur events that do not change the value.
|
|
@@ -1508,7 +1504,7 @@ When false, no events are emitted.
|
|
|
1508
1504
|
|
|
1509
1505
|
> **markAsUntouched**(`opts`?): `void`
|
|
1510
1506
|
|
|
1511
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:213](https://gitlab.com/rxap/packages/-/blob/
|
|
1507
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:213](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L213)
|
|
1512
1508
|
|
|
1513
1509
|
Marks the control as `untouched`.
|
|
1514
1510
|
|
|
@@ -1549,7 +1545,7 @@ When false, no events are emitted.
|
|
|
1549
1545
|
|
|
1550
1546
|
> **mergeAsyncValidators**(`validators`): `void`
|
|
1551
1547
|
|
|
1552
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:199](https://gitlab.com/rxap/packages/-/blob/
|
|
1548
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:199](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L199)
|
|
1553
1549
|
|
|
1554
1550
|
#### Parameters
|
|
1555
1551
|
|
|
@@ -1567,7 +1563,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:199](https://gitlab.
|
|
|
1567
1563
|
|
|
1568
1564
|
> **mergeValidators**(`validators`): `void`
|
|
1569
1565
|
|
|
1570
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:195](https://gitlab.com/rxap/packages/-/blob/
|
|
1566
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:195](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L195)
|
|
1571
1567
|
|
|
1572
1568
|
#### Parameters
|
|
1573
1569
|
|
|
@@ -1587,7 +1583,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:195](https://gitlab.
|
|
|
1587
1583
|
|
|
1588
1584
|
> **patchValue**(`valueOrObservable`, `options`?): `Subscription`
|
|
1589
1585
|
|
|
1590
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:163](https://gitlab.com/rxap/packages/-/blob/
|
|
1586
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:163](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L163)
|
|
1591
1587
|
|
|
1592
1588
|
Patches the value of a control.
|
|
1593
1589
|
|
|
@@ -1621,7 +1617,7 @@ FormControl#setValue for options
|
|
|
1621
1617
|
|
|
1622
1618
|
> **patchValue**(`valueOrObservable`, `options`?): `void`
|
|
1623
1619
|
|
|
1624
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:167](https://gitlab.com/rxap/packages/-/blob/
|
|
1620
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:167](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L167)
|
|
1625
1621
|
|
|
1626
1622
|
##### Parameters
|
|
1627
1623
|
|
|
@@ -1647,7 +1643,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:167](https://gitlab.
|
|
|
1647
1643
|
|
|
1648
1644
|
> **registerOnChange**(`fn`): `void`
|
|
1649
1645
|
|
|
1650
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1646
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2285
|
|
1651
1647
|
|
|
1652
1648
|
Register a listener for change events.
|
|
1653
1649
|
|
|
@@ -1673,7 +1669,7 @@ The method that is called when the value changes
|
|
|
1673
1669
|
|
|
1674
1670
|
> **registerOnDisabledChange**(`fn`): `void`
|
|
1675
1671
|
|
|
1676
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1672
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2291
|
|
1677
1673
|
|
|
1678
1674
|
Register a listener for disabled events.
|
|
1679
1675
|
|
|
@@ -1699,7 +1695,7 @@ The method that is called when the disabled status changes.
|
|
|
1699
1695
|
|
|
1700
1696
|
> **registerOnSetValue**(`setValueFn`): `void`
|
|
1701
1697
|
|
|
1702
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:301](https://gitlab.com/rxap/packages/-/blob/
|
|
1698
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:301](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L301)
|
|
1703
1699
|
|
|
1704
1700
|
#### Parameters
|
|
1705
1701
|
|
|
@@ -1717,7 +1713,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:301](https://gitlab.
|
|
|
1717
1713
|
|
|
1718
1714
|
> **removeAsyncValidators**(`validators`): `void`
|
|
1719
1715
|
|
|
1720
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1716
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:312
|
|
1721
1717
|
|
|
1722
1718
|
Remove an asynchronous validator from this control, without affecting other validators.
|
|
1723
1719
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
@@ -1749,7 +1745,7 @@ The asynchronous validator or validators to remove.
|
|
|
1749
1745
|
|
|
1750
1746
|
> **removeValidators**(`validators`): `void`
|
|
1751
1747
|
|
|
1752
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1748
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:300
|
|
1753
1749
|
|
|
1754
1750
|
Remove a synchronous validator from this control, without affecting other validators.
|
|
1755
1751
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
@@ -1799,7 +1795,7 @@ When you add or remove a validator at run time, you must call
|
|
|
1799
1795
|
|
|
1800
1796
|
> **reset**(`formState`?, `options`?): `void`
|
|
1801
1797
|
|
|
1802
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:232](https://gitlab.com/rxap/packages/-/blob/
|
|
1798
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:232](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L232)
|
|
1803
1799
|
|
|
1804
1800
|
Resets the form control, marking it `pristine` and `untouched`, and resetting
|
|
1805
1801
|
the value. The new value will be the provided value (if passed), `null`, or the initial value
|
|
@@ -1856,7 +1852,7 @@ When false, no events are emitted.
|
|
|
1856
1852
|
|
|
1857
1853
|
> **setAsyncValidators**(`newValidator`, `updateValueAndValidity`): `void`
|
|
1858
1854
|
|
|
1859
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:255](https://gitlab.com/rxap/packages/-/blob/
|
|
1855
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:255](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L255)
|
|
1860
1856
|
|
|
1861
1857
|
Sets the asynchronous validators that are active on this control. Calling this
|
|
1862
1858
|
overwrites any existing asynchronous validators.
|
|
@@ -1891,7 +1887,7 @@ using `addAsyncValidators()` method instead.
|
|
|
1891
1887
|
|
|
1892
1888
|
> **setDisable**(`disable`, `opts`?): `void`
|
|
1893
1889
|
|
|
1894
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:297](https://gitlab.com/rxap/packages/-/blob/
|
|
1890
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:297](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L297)
|
|
1895
1891
|
|
|
1896
1892
|
#### Parameters
|
|
1897
1893
|
|
|
@@ -1913,7 +1909,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:297](https://gitlab.
|
|
|
1913
1909
|
|
|
1914
1910
|
> **setEnable**(`enable`, `opts`?): `void`
|
|
1915
1911
|
|
|
1916
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:293](https://gitlab.com/rxap/packages/-/blob/
|
|
1912
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:293](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L293)
|
|
1917
1913
|
|
|
1918
1914
|
#### Parameters
|
|
1919
1915
|
|
|
@@ -1935,7 +1931,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:293](https://gitlab.
|
|
|
1935
1931
|
|
|
1936
1932
|
> **setError**(`key`, `value`, `opts`): `void`
|
|
1937
1933
|
|
|
1938
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:281](https://gitlab.com/rxap/packages/-/blob/
|
|
1934
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:281](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L281)
|
|
1939
1935
|
|
|
1940
1936
|
#### Parameters
|
|
1941
1937
|
|
|
@@ -1961,7 +1957,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:281](https://gitlab.
|
|
|
1961
1957
|
|
|
1962
1958
|
> **setErrors**(`errors`, `opts`): `void`
|
|
1963
1959
|
|
|
1964
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:277](https://gitlab.com/rxap/packages/-/blob/
|
|
1960
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:277](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L277)
|
|
1965
1961
|
|
|
1966
1962
|
Sets errors on a form control when running validations manually, rather than automatically.
|
|
1967
1963
|
|
|
@@ -2014,7 +2010,7 @@ expect(login.valid).toEqual(true);
|
|
|
2014
2010
|
|
|
2015
2011
|
> **setParent**(`parent`): `void`
|
|
2016
2012
|
|
|
2017
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
2013
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:530
|
|
2018
2014
|
|
|
2019
2015
|
Sets the parent of the control
|
|
2020
2016
|
|
|
@@ -2040,7 +2036,7 @@ The new parent.
|
|
|
2040
2036
|
|
|
2041
2037
|
> **setValidators**(`newValidator`, `updateValueAndValidity`): `void`
|
|
2042
2038
|
|
|
2043
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:245](https://gitlab.com/rxap/packages/-/blob/
|
|
2039
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:245](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L245)
|
|
2044
2040
|
|
|
2045
2041
|
Sets the synchronous validators that are active on this control. Calling
|
|
2046
2042
|
this overwrites any existing synchronous validators.
|
|
@@ -2077,7 +2073,7 @@ using `addValidators()` method instead.
|
|
|
2077
2073
|
|
|
2078
2074
|
> **setValue**(`valueOrObservable`, `options`?): `Subscription`
|
|
2079
2075
|
|
|
2080
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:141](https://gitlab.com/rxap/packages/-/blob/
|
|
2076
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:141](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L141)
|
|
2081
2077
|
|
|
2082
2078
|
Sets a new value for the form control.
|
|
2083
2079
|
|
|
@@ -2120,7 +2116,7 @@ event to update the model.
|
|
|
2120
2116
|
|
|
2121
2117
|
> **setValue**(`valueOrObservable`, `options`?): `void`
|
|
2122
2118
|
|
|
2123
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:145](https://gitlab.com/rxap/packages/-/blob/
|
|
2119
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:145](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L145)
|
|
2124
2120
|
|
|
2125
2121
|
##### Parameters
|
|
2126
2122
|
|
|
@@ -2146,7 +2142,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:145](https://gitlab.
|
|
|
2146
2142
|
|
|
2147
2143
|
> **updateValueAndValidity**(`opts`?): `void`
|
|
2148
2144
|
|
|
2149
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
2145
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:562
|
|
2150
2146
|
|
|
2151
2147
|
Recalculates the value and validation status of the control.
|
|
2152
2148
|
|
|
@@ -2187,7 +2183,7 @@ When false, no events are emitted.
|
|
|
2187
2183
|
|
|
2188
2184
|
> **validateOn**(`observableValidation`): `Subscription`
|
|
2189
2185
|
|
|
2190
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:265](https://gitlab.com/rxap/packages/-/blob/
|
|
2186
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:265](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/forms/src/lib/form-control.ts#L265)
|
|
2191
2187
|
|
|
2192
2188
|
#### Parameters
|
|
2193
2189
|
|