@rxap/forms 19.2.0-dev.1 → 21.0.1-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/compodoc/changelog.html +24 -0
- package/compodoc/classes/FormArrayControlManager.html +13 -10
- package/compodoc/classes/RxapFormArray.html +3 -1
- package/compodoc/classes/RxapFormBuilder.html +13 -10
- package/compodoc/classes/RxapFormControl.html +3 -1
- package/compodoc/classes/RxapFormGroup.html +3 -1
- package/compodoc/dependencies.html +13 -13
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +12279 -9865
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/classes/ControlValueAccessor.html +5 -5
- package/docs/html/classes/FormArrayControlManager.html +2 -2
- package/docs/html/classes/FormControlErrorDirective.html +5 -5
- package/docs/html/classes/FormControlMarkDirtyDirective.html +2 -2
- package/docs/html/classes/FormControlMarkPristineDirective.html +2 -2
- package/docs/html/classes/FormControlMarkTouchedDirective.html +2 -2
- package/docs/html/classes/FormControlMarkUntouchedDirective.html +2 -2
- package/docs/html/classes/FormControlNameDirective.html +33 -33
- package/docs/html/classes/FormDirective.html +47 -47
- package/docs/html/classes/FormGroupNameDirective.html +28 -28
- package/docs/html/classes/FormLoadedDirective.html +4 -4
- package/docs/html/classes/FormLoadingDirective.html +4 -4
- package/docs/html/classes/FormLoadingErrorDirective.html +4 -4
- package/docs/html/classes/FormResetDirective.html +2 -2
- package/docs/html/classes/FormSubmitDirective.html +3 -3
- package/docs/html/classes/FormSubmitFailedDirective.html +4 -4
- package/docs/html/classes/FormSubmitInvalidDirective.html +4 -4
- package/docs/html/classes/FormSubmitSuccessfulDirective.html +4 -4
- package/docs/html/classes/FormSubmittingDirective.html +4 -4
- package/docs/html/classes/ParentControlContainerDirective.html +2 -2
- package/docs/html/classes/RxapFormArray.html +96 -79
- package/docs/html/classes/RxapFormBuilder.html +2 -2
- package/docs/html/classes/RxapFormControl.html +92 -75
- package/docs/html/classes/RxapFormGroup.html +93 -77
- package/docs/html/classes/RxapFormsModule.html +2 -2
- package/docs/html/enums/MetadataKeys.html +2 -2
- package/docs/html/functions/ControlAsyncValidator.html +1 -1
- package/docs/html/functions/ControlChange.html +1 -1
- package/docs/html/functions/ControlSetValue.html +1 -1
- package/docs/html/functions/ControlValidator.html +1 -1
- package/docs/html/functions/IsArray.html +1 -1
- package/docs/html/functions/IsBoolean.html +1 -1
- package/docs/html/functions/IsComplex.html +1 -1
- package/docs/html/functions/IsDate.html +1 -1
- package/docs/html/functions/IsEmail.html +1 -1
- package/docs/html/functions/IsEnum.html +1 -1
- package/docs/html/functions/IsIP.html +1 -1
- package/docs/html/functions/IsInt.html +1 -1
- package/docs/html/functions/IsNumber-1.html +2 -2
- package/docs/html/functions/IsObject.html +1 -1
- package/docs/html/functions/IsPhoneNumber.html +1 -1
- package/docs/html/functions/IsPort.html +1 -1
- package/docs/html/functions/IsString.html +1 -1
- package/docs/html/functions/IsUUID.html +1 -1
- package/docs/html/functions/IsUrl.html +1 -1
- package/docs/html/functions/RxapForm.html +1 -1
- package/docs/html/functions/ToFormMethod.html +1 -1
- package/docs/html/functions/ToFormSubmitMethod.html +2 -2
- package/docs/html/functions/UseFormArrayControl.html +1 -1
- package/docs/html/functions/UseFormArrayGroup.html +1 -1
- package/docs/html/functions/UseFormControl.html +1 -1
- package/docs/html/functions/UseFormGroup.html +1 -1
- package/docs/html/functions/_IsNumber.html +1 -1
- package/docs/html/functions/controlDisabledWhile.html +1 -1
- package/docs/html/functions/controlDisabled_.html +1 -1
- package/docs/html/functions/controlEnabledWhile.html +1 -1
- package/docs/html/functions/controlEnabled_.html +1 -1
- package/docs/html/functions/controlErrorChanges_.html +1 -1
- package/docs/html/functions/controlReadonly_.html +1 -1
- package/docs/html/functions/controlStatusChanges_.html +1 -1
- package/docs/html/functions/controlValueChanges_.html +1 -1
- package/docs/html/functions/disableControl.html +1 -1
- package/docs/html/functions/enableControl.html +1 -1
- package/docs/html/functions/hasErrorAndDirty.html +1 -1
- package/docs/html/functions/hasErrorAndTouched.html +1 -1
- package/docs/html/functions/isNumber.html +2 -2
- package/docs/html/functions/markAllDirty.html +1 -1
- package/docs/html/functions/markAllPristine.html +1 -1
- package/docs/html/functions/markAllUntouched.html +1 -1
- package/docs/html/functions/mergeControlValidators.html +1 -1
- package/docs/html/functions/selectControlValue_.html +1 -1
- package/docs/html/functions/validateControlOn.html +1 -1
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/AbstractControl.html +95 -71
- package/docs/html/interfaces/AbstractControlOptions.html +4 -4
- package/docs/html/interfaces/BoxedValue.html +2 -2
- package/docs/html/interfaces/ComplexityOptions.html +2 -2
- package/docs/html/interfaces/ControlOptions.html +3 -3
- package/docs/html/interfaces/ControlSetValueOptions.html +2 -2
- package/docs/html/interfaces/FormArrayOptions.html +4 -4
- package/docs/html/interfaces/FormDefinition.html +6 -6
- package/docs/html/interfaces/FormDefinitionArray.html +43 -36
- package/docs/html/interfaces/FormDefinitionMetadata.html +5 -5
- package/docs/html/interfaces/FormGroupOptions.html +4 -4
- package/docs/html/interfaces/FormLoadFailedMethod.html +2 -2
- package/docs/html/interfaces/FormLoadMethod.html +2 -2
- package/docs/html/interfaces/FormLoadSuccessfulMethod.html +2 -2
- package/docs/html/interfaces/FormOptions.html +4 -4
- package/docs/html/interfaces/FormSubmitFailedMethod.html +2 -2
- package/docs/html/interfaces/FormSubmitMethod.html +2 -2
- package/docs/html/interfaces/FormSubmitSuccessfulMethod.html +2 -2
- package/docs/html/interfaces/InjectableValidator.html +2 -2
- package/docs/html/interfaces/IsNumberOptions.html +3 -3
- package/docs/html/interfaces/NgValidatorsErrors.html +2 -2
- package/docs/html/interfaces/RxapAbstractControlOptionsWithDefinition.html +4 -4
- package/docs/html/interfaces/_RxapAbstractControlOptions.html +4 -4
- package/docs/html/modules.html +1 -1
- package/docs/html/types/AsyncValidator.html +1 -1
- package/docs/html/types/AsyncValidatorFn.html +1 -1
- package/docs/html/types/ChangeFn.html +1 -1
- package/docs/html/types/ControlEventOptions.html +1 -1
- package/docs/html/types/ControlInsertedFn.html +1 -1
- package/docs/html/types/ControlPath.html +1 -1
- package/docs/html/types/ControlRemovedFn.html +1 -1
- package/docs/html/types/ControlState.html +1 -1
- package/docs/html/types/EmitEvent.html +1 -1
- package/docs/html/types/ExtractAbstractControl.html +1 -1
- package/docs/html/types/ExtractStrings.html +1 -1
- package/docs/html/types/FormBuilderFn.html +1 -1
- package/docs/html/types/FormType.html +1 -1
- package/docs/html/types/KeyValueControls.html +1 -1
- package/docs/html/types/OnlySelf.html +1 -1
- package/docs/html/types/OrBoxedValue.html +1 -1
- package/docs/html/types/RxapAbstractControlOptions.html +1 -1
- package/docs/html/types/SetValueFn.html +1 -1
- package/docs/html/types/ValidationErrors.html +1 -1
- package/docs/html/types/Validator.html +1 -1
- package/docs/html/types/ValidatorFn.html +1 -1
- package/docs/html/types/ValidatorOrOpts.html +1 -1
- package/docs/html/variables/RXAP_FORM_CONTEXT.html +1 -1
- package/docs/html/variables/RXAP_FORM_DEFINITION.html +1 -1
- package/docs/html/variables/RXAP_FORM_DEFINITION_BUILDER.html +1 -1
- package/docs/html/variables/RXAP_FORM_INITIAL_STATE.html +1 -1
- package/docs/html/variables/RXAP_FORM_LOAD_FAILED_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_LOAD_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_SUBMIT_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.html +1 -1
- package/docs/html/variables/RxapValidators.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/ControlValueAccessor.md +8 -8
- package/docs/markdown/classes/FormArrayControlManager.md +6 -6
- package/docs/markdown/classes/FormControlErrorDirective.md +7 -7
- package/docs/markdown/classes/FormControlMarkDirtyDirective.md +4 -4
- package/docs/markdown/classes/FormControlMarkPristineDirective.md +4 -4
- package/docs/markdown/classes/FormControlMarkTouchedDirective.md +4 -4
- package/docs/markdown/classes/FormControlMarkUntouchedDirective.md +4 -4
- package/docs/markdown/classes/FormControlNameDirective.md +36 -38
- package/docs/markdown/classes/FormDirective.md +139 -91
- package/docs/markdown/classes/FormGroupNameDirective.md +31 -31
- package/docs/markdown/classes/FormLoadedDirective.md +5 -5
- package/docs/markdown/classes/FormLoadingDirective.md +5 -5
- package/docs/markdown/classes/FormLoadingErrorDirective.md +5 -5
- package/docs/markdown/classes/FormResetDirective.md +8 -8
- package/docs/markdown/classes/FormSubmitDirective.md +15 -15
- package/docs/markdown/classes/FormSubmitFailedDirective.md +5 -5
- package/docs/markdown/classes/FormSubmitInvalidDirective.md +5 -5
- package/docs/markdown/classes/FormSubmitSuccessfulDirective.md +5 -5
- package/docs/markdown/classes/FormSubmittingDirective.md +5 -5
- package/docs/markdown/classes/ParentControlContainerDirective.md +2 -2
- package/docs/markdown/classes/RxapFormArray.md +132 -103
- package/docs/markdown/classes/RxapFormBuilder.md +4 -4
- package/docs/markdown/classes/RxapFormControl.md +127 -103
- package/docs/markdown/classes/RxapFormGroup.md +140 -117
- package/docs/markdown/classes/RxapFormsModule.md +2 -2
- package/docs/markdown/enumerations/MetadataKeys.md +10 -10
- package/docs/markdown/functions/ControlAsyncValidator.md +2 -2
- package/docs/markdown/functions/ControlChange.md +2 -2
- package/docs/markdown/functions/ControlSetValue.md +2 -2
- package/docs/markdown/functions/ControlValidator.md +2 -2
- package/docs/markdown/functions/IsArray.md +2 -2
- package/docs/markdown/functions/IsBoolean.md +2 -2
- package/docs/markdown/functions/IsComplex.md +2 -2
- package/docs/markdown/functions/IsDate.md +2 -2
- package/docs/markdown/functions/IsEmail.md +2 -2
- package/docs/markdown/functions/IsEnum.md +2 -2
- package/docs/markdown/functions/IsIP.md +2 -2
- package/docs/markdown/functions/IsInt.md +2 -2
- package/docs/markdown/functions/IsNumber-2.md +2 -2
- package/docs/markdown/functions/IsNumber.md +2 -2
- package/docs/markdown/functions/IsObject.md +2 -2
- package/docs/markdown/functions/IsPhoneNumber.md +2 -2
- package/docs/markdown/functions/IsPort.md +2 -2
- package/docs/markdown/functions/IsString.md +2 -2
- package/docs/markdown/functions/IsUUID.md +2 -2
- package/docs/markdown/functions/IsUrl.md +2 -2
- package/docs/markdown/functions/RxapForm.md +2 -2
- package/docs/markdown/functions/ToFormMethod.md +2 -2
- package/docs/markdown/functions/ToFormSubmitMethod.md +2 -2
- package/docs/markdown/functions/UseFormArrayControl.md +2 -2
- package/docs/markdown/functions/UseFormArrayGroup.md +2 -2
- package/docs/markdown/functions/UseFormControl.md +2 -2
- package/docs/markdown/functions/UseFormGroup.md +2 -2
- package/docs/markdown/functions/controlDisabled$.md +2 -2
- package/docs/markdown/functions/controlDisabledWhile.md +2 -2
- package/docs/markdown/functions/controlEnabled$.md +2 -2
- package/docs/markdown/functions/controlEnabledWhile.md +2 -2
- package/docs/markdown/functions/controlErrorChanges$.md +2 -2
- package/docs/markdown/functions/controlReadonly$.md +2 -2
- package/docs/markdown/functions/controlStatusChanges$.md +2 -2
- package/docs/markdown/functions/controlValueChanges$.md +2 -2
- package/docs/markdown/functions/disableControl.md +2 -2
- package/docs/markdown/functions/enableControl.md +2 -2
- package/docs/markdown/functions/hasErrorAndDirty.md +2 -2
- package/docs/markdown/functions/hasErrorAndTouched.md +2 -2
- package/docs/markdown/functions/isNumber-1.md +2 -2
- package/docs/markdown/functions/markAllDirty.md +2 -2
- package/docs/markdown/functions/markAllPristine.md +2 -2
- package/docs/markdown/functions/markAllUntouched.md +2 -2
- package/docs/markdown/functions/mergeControlValidators.md +2 -2
- package/docs/markdown/functions/selectControlValue$.md +2 -2
- package/docs/markdown/functions/validateControlOn.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/AbstractControl.md +122 -73
- package/docs/markdown/interfaces/AbstractControlOptions.md +5 -5
- package/docs/markdown/interfaces/BoxedValue.md +4 -4
- package/docs/markdown/interfaces/ComplexityOptions.md +12 -12
- package/docs/markdown/interfaces/ControlOptions.md +10 -10
- package/docs/markdown/interfaces/ControlSetValueOptions.md +4 -4
- package/docs/markdown/interfaces/FormArrayOptions.md +15 -15
- package/docs/markdown/interfaces/FormDefinition.md +7 -7
- package/docs/markdown/interfaces/FormDefinitionArray.md +70 -36
- package/docs/markdown/interfaces/FormDefinitionMetadata.md +14 -14
- package/docs/markdown/interfaces/FormGroupOptions.md +12 -12
- package/docs/markdown/interfaces/FormLoadFailedMethod.md +4 -4
- package/docs/markdown/interfaces/FormLoadMethod.md +4 -4
- package/docs/markdown/interfaces/FormLoadSuccessfulMethod.md +4 -4
- package/docs/markdown/interfaces/FormOptions.md +12 -12
- package/docs/markdown/interfaces/FormSubmitFailedMethod.md +4 -4
- package/docs/markdown/interfaces/FormSubmitMethod.md +4 -4
- package/docs/markdown/interfaces/FormSubmitSuccessfulMethod.md +4 -4
- package/docs/markdown/interfaces/InjectableValidator.md +4 -4
- package/docs/markdown/interfaces/IsNumberOptions.md +6 -6
- package/docs/markdown/interfaces/NgValidatorsErrors.md +9 -9
- package/docs/markdown/interfaces/RxapAbstractControlOptions.md +11 -11
- package/docs/markdown/interfaces/RxapAbstractControlOptionsWithDefinition.md +12 -12
- package/docs/markdown/type-aliases/AsyncValidator.md +2 -2
- package/docs/markdown/type-aliases/AsyncValidatorFn.md +2 -2
- package/docs/markdown/type-aliases/ChangeFn.md +2 -2
- package/docs/markdown/type-aliases/ControlEventOptions.md +2 -2
- package/docs/markdown/type-aliases/ControlInsertedFn.md +2 -2
- package/docs/markdown/type-aliases/ControlPath.md +2 -2
- package/docs/markdown/type-aliases/ControlRemovedFn.md +2 -2
- package/docs/markdown/type-aliases/ControlState.md +2 -2
- package/docs/markdown/type-aliases/EmitEvent.md +2 -2
- package/docs/markdown/type-aliases/ExtractAbstractControl.md +2 -2
- package/docs/markdown/type-aliases/ExtractStrings.md +2 -2
- package/docs/markdown/type-aliases/FormBuilderFn.md +2 -2
- package/docs/markdown/type-aliases/FormType.md +2 -2
- package/docs/markdown/type-aliases/KeyValueControls.md +2 -2
- package/docs/markdown/type-aliases/OnlySelf.md +2 -2
- package/docs/markdown/type-aliases/OrBoxedValue.md +2 -2
- package/docs/markdown/type-aliases/RxapAbstractControlOptions.md +2 -2
- package/docs/markdown/type-aliases/SetValueFn.md +2 -2
- package/docs/markdown/type-aliases/ValidationErrors.md +2 -2
- package/docs/markdown/type-aliases/Validator.md +2 -2
- package/docs/markdown/type-aliases/ValidatorFn.md +2 -2
- package/docs/markdown/type-aliases/ValidatorOrOpts.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_CONTEXT.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_DEFINITION.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_DEFINITION_BUILDER.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_INITIAL_STATE.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_LOAD_FAILED_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_LOAD_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SUBMIT_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +2 -2
- package/docs/markdown/variables/RxapValidators.md +2 -2
- package/docs/wiki/Class.ControlValueAccessor.md +7 -7
- package/docs/wiki/Class.FormArrayControlManager.md +5 -5
- package/docs/wiki/Class.FormControlErrorDirective.md +6 -6
- package/docs/wiki/Class.FormControlMarkDirtyDirective.md +3 -3
- package/docs/wiki/Class.FormControlMarkPristineDirective.md +3 -3
- package/docs/wiki/Class.FormControlMarkTouchedDirective.md +3 -3
- package/docs/wiki/Class.FormControlMarkUntouchedDirective.md +3 -3
- package/docs/wiki/Class.FormControlNameDirective.md +35 -37
- package/docs/wiki/Class.FormDirective.md +138 -90
- package/docs/wiki/Class.FormGroupNameDirective.md +30 -30
- package/docs/wiki/Class.FormLoadedDirective.md +4 -4
- package/docs/wiki/Class.FormLoadingDirective.md +4 -4
- package/docs/wiki/Class.FormLoadingErrorDirective.md +4 -4
- package/docs/wiki/Class.FormResetDirective.md +7 -7
- package/docs/wiki/Class.FormSubmitDirective.md +14 -14
- package/docs/wiki/Class.FormSubmitFailedDirective.md +4 -4
- package/docs/wiki/Class.FormSubmitInvalidDirective.md +4 -4
- package/docs/wiki/Class.FormSubmitSuccessfulDirective.md +4 -4
- package/docs/wiki/Class.FormSubmittingDirective.md +4 -4
- package/docs/wiki/Class.ParentControlContainerDirective.md +1 -1
- package/docs/wiki/Class.RxapFormArray.md +131 -102
- package/docs/wiki/Class.RxapFormBuilder.md +3 -3
- package/docs/wiki/Class.RxapFormControl.md +126 -102
- package/docs/wiki/Class.RxapFormGroup.md +139 -116
- package/docs/wiki/Class.RxapFormsModule.md +1 -1
- package/docs/wiki/Enumeration.MetadataKeys.md +9 -9
- package/docs/wiki/Function.ControlAsyncValidator.md +1 -1
- package/docs/wiki/Function.ControlChange.md +1 -1
- package/docs/wiki/Function.ControlSetValue.md +1 -1
- package/docs/wiki/Function.ControlValidator.md +1 -1
- package/docs/wiki/Function.IsArray.md +1 -1
- package/docs/wiki/Function.IsBoolean.md +1 -1
- package/docs/wiki/Function.IsComplex.md +1 -1
- package/docs/wiki/Function.IsDate.md +1 -1
- package/docs/wiki/Function.IsEmail.md +1 -1
- package/docs/wiki/Function.IsEnum.md +1 -1
- package/docs/wiki/Function.IsIP.md +1 -1
- package/docs/wiki/Function.IsInt.md +1 -1
- package/docs/wiki/Function.IsNumber.md +1 -1
- package/docs/wiki/Function.IsObject.md +1 -1
- package/docs/wiki/Function.IsPhoneNumber.md +1 -1
- package/docs/wiki/Function.IsPort.md +1 -1
- package/docs/wiki/Function.IsString.md +1 -1
- package/docs/wiki/Function.IsUUID.md +1 -1
- package/docs/wiki/Function.IsUrl.md +1 -1
- package/docs/wiki/Function.RxapForm.md +1 -1
- package/docs/wiki/Function.ToFormMethod.md +1 -1
- package/docs/wiki/Function.ToFormSubmitMethod.md +1 -1
- package/docs/wiki/Function.UseFormArrayControl.md +1 -1
- package/docs/wiki/Function.UseFormArrayGroup.md +1 -1
- package/docs/wiki/Function.UseFormControl.md +1 -1
- package/docs/wiki/Function.UseFormGroup.md +1 -1
- package/docs/wiki/Function._IsNumber.md +1 -1
- package/docs/wiki/Function.controlDisabled$.md +1 -1
- package/docs/wiki/Function.controlDisabledWhile.md +1 -1
- package/docs/wiki/Function.controlEnabled$.md +1 -1
- package/docs/wiki/Function.controlEnabledWhile.md +1 -1
- package/docs/wiki/Function.controlErrorChanges$.md +1 -1
- package/docs/wiki/Function.controlReadonly$.md +1 -1
- package/docs/wiki/Function.controlStatusChanges$.md +1 -1
- package/docs/wiki/Function.controlValueChanges$.md +1 -1
- package/docs/wiki/Function.disableControl.md +1 -1
- package/docs/wiki/Function.enableControl.md +1 -1
- package/docs/wiki/Function.hasErrorAndDirty.md +1 -1
- package/docs/wiki/Function.hasErrorAndTouched.md +1 -1
- package/docs/wiki/Function.isNumber.md +1 -1
- package/docs/wiki/Function.markAllDirty.md +1 -1
- package/docs/wiki/Function.markAllPristine.md +1 -1
- package/docs/wiki/Function.markAllUntouched.md +1 -1
- package/docs/wiki/Function.mergeControlValidators.md +1 -1
- package/docs/wiki/Function.selectControlValue$.md +1 -1
- package/docs/wiki/Function.validateControlOn.md +1 -1
- package/docs/wiki/Interface.AbstractControl.md +121 -72
- package/docs/wiki/Interface.AbstractControlOptions.md +4 -4
- package/docs/wiki/Interface.BoxedValue.md +3 -3
- package/docs/wiki/Interface.ComplexityOptions.md +11 -11
- package/docs/wiki/Interface.ControlOptions.md +9 -9
- package/docs/wiki/Interface.ControlSetValueOptions.md +3 -3
- package/docs/wiki/Interface.FormArrayOptions.md +14 -14
- package/docs/wiki/Interface.FormDefinition.md +6 -6
- package/docs/wiki/Interface.FormDefinitionArray.md +69 -35
- package/docs/wiki/Interface.FormDefinitionMetadata.md +13 -13
- package/docs/wiki/Interface.FormGroupOptions.md +11 -11
- package/docs/wiki/Interface.FormLoadFailedMethod.md +3 -3
- package/docs/wiki/Interface.FormLoadMethod.md +3 -3
- package/docs/wiki/Interface.FormLoadSuccessfulMethod.md +3 -3
- package/docs/wiki/Interface.FormOptions.md +11 -11
- package/docs/wiki/Interface.FormSubmitFailedMethod.md +3 -3
- package/docs/wiki/Interface.FormSubmitMethod.md +3 -3
- package/docs/wiki/Interface.FormSubmitSuccessfulMethod.md +3 -3
- package/docs/wiki/Interface.InjectableValidator.md +3 -3
- package/docs/wiki/Interface.IsNumberOptions.md +5 -5
- package/docs/wiki/Interface.NgValidatorsErrors.md +8 -8
- package/docs/wiki/Interface.RxapAbstractControlOptionsWithDefinition.md +11 -11
- package/docs/wiki/Interface._RxapAbstractControlOptions.md +10 -10
- package/docs/wiki/TypeAlias.AsyncValidator.md +1 -1
- package/docs/wiki/TypeAlias.AsyncValidatorFn.md +1 -1
- package/docs/wiki/TypeAlias.ChangeFn.md +1 -1
- package/docs/wiki/TypeAlias.ControlEventOptions.md +1 -1
- package/docs/wiki/TypeAlias.ControlInsertedFn.md +1 -1
- package/docs/wiki/TypeAlias.ControlPath.md +1 -1
- package/docs/wiki/TypeAlias.ControlRemovedFn.md +1 -1
- package/docs/wiki/TypeAlias.ControlState.md +1 -1
- package/docs/wiki/TypeAlias.EmitEvent.md +1 -1
- package/docs/wiki/TypeAlias.ExtractAbstractControl.md +1 -1
- package/docs/wiki/TypeAlias.ExtractStrings.md +1 -1
- package/docs/wiki/TypeAlias.FormBuilderFn.md +1 -1
- package/docs/wiki/TypeAlias.FormType.md +1 -1
- package/docs/wiki/TypeAlias.KeyValueControls.md +1 -1
- package/docs/wiki/TypeAlias.OnlySelf.md +1 -1
- package/docs/wiki/TypeAlias.OrBoxedValue.md +1 -1
- package/docs/wiki/TypeAlias.RxapAbstractControlOptions.md +1 -1
- package/docs/wiki/TypeAlias.SetValueFn.md +1 -1
- package/docs/wiki/TypeAlias.ValidationErrors.md +1 -1
- package/docs/wiki/TypeAlias.Validator.md +1 -1
- package/docs/wiki/TypeAlias.ValidatorFn.md +1 -1
- package/docs/wiki/TypeAlias.ValidatorOrOpts.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_CONTEXT.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_DEFINITION.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_DEFINITION_BUILDER.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_INITIAL_STATE.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_LOAD_FAILED_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_LOAD_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SUBMIT_FAILED_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SUBMIT_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +1 -1
- package/docs/wiki/Variable.RxapValidators.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-forms.mjs +79 -78
- package/fesm2022/rxap-forms.mjs.map +1 -1
- package/package.json +35 -30
- package/types/rxap-forms.d.ts +979 -0
- package/index.d.ts +0 -55
- package/lib/control-actions.d.ts +0 -23
- package/lib/control-value-accessor.d.ts +0 -9
- package/lib/decorators/control-async-validator.d.ts +0 -1
- package/lib/decorators/control-change.d.ts +0 -1
- package/lib/decorators/control-set-value.d.ts +0 -5
- package/lib/decorators/control-validator.d.ts +0 -1
- package/lib/decorators/form.d.ts +0 -2
- package/lib/decorators/metadata-keys.d.ts +0 -10
- package/lib/decorators/use-form-array.d.ts +0 -4
- package/lib/decorators/use-form-control.d.ts +0 -2
- package/lib/decorators/use-form-group.d.ts +0 -3
- package/lib/directives/form-control-error.directive.d.ts +0 -22
- package/lib/directives/form-control-mark-dirty.directive.d.ts +0 -9
- package/lib/directives/form-control-mark-pristine.directive.d.ts +0 -9
- package/lib/directives/form-control-mark-touched.directive.d.ts +0 -9
- package/lib/directives/form-control-mark-untouched.directive.d.ts +0 -9
- package/lib/directives/form-control-name.directive.d.ts +0 -16
- package/lib/directives/form-group-name.directive.d.ts +0 -16
- package/lib/directives/form-loaded.directive.d.ts +0 -14
- package/lib/directives/form-loading-error.directive.d.ts +0 -16
- package/lib/directives/form-loading.directive.d.ts +0 -14
- package/lib/directives/form-reset.directive.d.ts +0 -11
- package/lib/directives/form-submit-failed.directive.d.ts +0 -16
- package/lib/directives/form-submit-invalid.directive.d.ts +0 -16
- package/lib/directives/form-submit-successful.directive.d.ts +0 -16
- package/lib/directives/form-submit.directive.d.ts +0 -22
- package/lib/directives/form-submitting.directive.d.ts +0 -14
- package/lib/directives/form.directive.d.ts +0 -62
- package/lib/directives/forms.module.d.ts +0 -23
- package/lib/directives/models.d.ts +0 -29
- package/lib/directives/parent-control-container.directive.d.ts +0 -5
- package/lib/directives/tokens.d.ts +0 -12
- package/lib/form-array.d.ts +0 -76
- package/lib/form-builder.d.ts +0 -96
- package/lib/form-control.d.ts +0 -64
- package/lib/form-group.d.ts +0 -89
- package/lib/model.d.ts +0 -81
- package/lib/tokens.d.ts +0 -3
- package/lib/types.d.ts +0 -100
- package/lib/validators/index.d.ts +0 -32
- package/lib/validators/is-array.d.ts +0 -4
- package/lib/validators/is-boolean.d.ts +0 -4
- package/lib/validators/is-complex.d.ts +0 -17
- package/lib/validators/is-date.d.ts +0 -4
- package/lib/validators/is-email.d.ts +0 -6
- package/lib/validators/is-enum.d.ts +0 -5
- package/lib/validators/is-int.d.ts +0 -6
- package/lib/validators/is-ip.d.ts +0 -5
- package/lib/validators/is-number.d.ts +0 -24
- package/lib/validators/is-object.d.ts +0 -4
- package/lib/validators/is-phone-number.d.ts +0 -7
- package/lib/validators/is-port.d.ts +0 -4
- package/lib/validators/is-string.d.ts +0 -4
- package/lib/validators/is-url.d.ts +0 -6
- package/lib/validators/is-uuid.d.ts +0 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base=".."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>RxapFormControl | @rxap/forms -
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base=".."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>RxapFormControl | @rxap/forms - v21.0.1-dev.0</title><meta name="description" content="Documentation for @rxap/forms"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@rxap/forms - v21.0.1-dev.0</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@rxap/forms</a></li><li><a href="RxapFormControl.html">RxapFormControl</a></li></ul><h1>Class RxapFormControl<T, E, Parent></h1></div> <section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="t" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span> = <span class="tsd-signature-type">any</span></span></li><li><span><a id="e" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">E</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">object</span> = <span class="tsd-signature-type">any</span></span></li><li><span><a id="parent" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">Parent</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">object</span> = <span class="tsd-signature-type">any</span></span></li></ul></section> <section class="tsd-panel tsd-hierarchy" data-refl="1515"><h4>Hierarchy</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-signature-type">UntypedFormControl</span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">RxapFormControl</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L44">packages/angular/forms/src/lib/form-control.ts:44</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="RxapFormControl.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
|
|
2
2
|
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="RxapFormControl.html#_initialstate" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_initial<wbr/>State</span></a>
|
|
3
3
|
<a href="RxapFormControl.html#controlid" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>control<wbr/>Id</span></a>
|
|
4
4
|
<a href="RxapFormControl.html#defaultvalue" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>default<wbr/>Value</span></a>
|
|
@@ -78,12 +78,12 @@
|
|
|
78
78
|
<a href="RxapFormControl.html#setvalue" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Value</span></a>
|
|
79
79
|
<a href="RxapFormControl.html#updatevalueandvalidity" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Value<wbr/>And<wbr/>Validity</span></a>
|
|
80
80
|
<a href="RxapFormControl.html#validateon" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>validate<wbr/>On</span></a>
|
|
81
|
-
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="constructorrxapformcontrol" class="tsd-anchor"></a><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">RxapFormControl</span><span class="tsd-signature-symbol"><</span><br/> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a> <span class="tsd-signature-symbol">=</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrole">E</a> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">object</span> <span class="tsd-signature-symbol">=</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">object</span> <span class="tsd-signature-symbol">=</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">formState</span><span class="tsd-signature-symbol">:</span> <a href="../types/OrBoxedValue.html" class="tsd-signature-type tsd-kind-type-alias">OrBoxedValue</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/_RxapAbstractControlOptions.html" class="tsd-signature-type tsd-kind-interface">_RxapAbstractControlOptions</a> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">controlId</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrole">E</a><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">></span><a href="#constructorrxapformcontrol" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="constructorrxapformcontrolt" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span> = <span class="tsd-signature-type">any</span></span></li><li><span><a id="constructorrxapformcontrole" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">E</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">object</span> = <span class="tsd-signature-type">any</span></span></li><li><span><a id="constructorrxapformcontrolparent" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">Parent</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">object</span> = <span class="tsd-signature-type">any</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">formState</span>: <a href="../types/OrBoxedValue.html" class="tsd-signature-type tsd-kind-type-alias">OrBoxedValue</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">></span></span></li><li><span><span class="tsd-kind-parameter">options</span>: <a href="../interfaces/_RxapAbstractControlOptions.html" class="tsd-signature-type tsd-kind-interface">_RxapAbstractControlOptions</a> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">controlId</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrole">E</a><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><p>Overrides UntypedFormControl.constructor</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/forms/src/lib/form-control.ts#L129">packages/angular/forms/src/lib/form-control.ts:129</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member tsd-is-protected"><a id="_initialstate" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Protected</code><span>_initial<wbr/>State</span><a href="#_initialstate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">_initialState</span><span class="tsd-signature-symbol">:</span> <a href="../types/OrBoxedValue.html" class="tsd-signature-type tsd-kind-type-alias">OrBoxedValue</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/forms/src/lib/form-control.ts#L69">packages/angular/forms/src/lib/form-control.ts:69</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="controlid" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>control<wbr/>Id</span><a href="#controlid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">controlId</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/forms/src/lib/form-control.ts#L98">packages/angular/forms/src/lib/form-control.ts:98</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="defaultvalue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>default<wbr/>Value</span><a href="#defaultvalue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">defaultValue</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><div class="tsd-comment tsd-typography"><p>The default value of this FormControl, used whenever the control is reset without an explicit
|
|
81
|
+
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="constructorrxapformcontrol" class="tsd-anchor"></a><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">RxapFormControl</span><span class="tsd-signature-symbol"><</span><br/> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a> <span class="tsd-signature-symbol">=</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrole">E</a> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">object</span> <span class="tsd-signature-symbol">=</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">object</span> <span class="tsd-signature-symbol">=</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">formState</span><span class="tsd-signature-symbol">:</span> <a href="../types/OrBoxedValue.html" class="tsd-signature-type tsd-kind-type-alias">OrBoxedValue</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/_RxapAbstractControlOptions.html" class="tsd-signature-type tsd-kind-interface">_RxapAbstractControlOptions</a> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">controlId</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrole">E</a><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">></span><a href="#constructorrxapformcontrol" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="constructorrxapformcontrolt" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span> = <span class="tsd-signature-type">any</span></span></li><li><span><a id="constructorrxapformcontrole" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">E</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">object</span> = <span class="tsd-signature-type">any</span></span></li><li><span><a id="constructorrxapformcontrolparent" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">Parent</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">object</span> = <span class="tsd-signature-type">any</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">formState</span>: <a href="../types/OrBoxedValue.html" class="tsd-signature-type tsd-kind-type-alias">OrBoxedValue</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">></span></span></li><li><span><span class="tsd-kind-parameter">options</span>: <a href="../interfaces/_RxapAbstractControlOptions.html" class="tsd-signature-type tsd-kind-interface">_RxapAbstractControlOptions</a> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">controlId</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrole">E</a><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><p>Overrides UntypedFormControl.constructor</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L129">packages/angular/forms/src/lib/form-control.ts:129</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member tsd-is-protected"><a id="_initialstate" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Protected</code><span>_initial<wbr/>State</span><a href="#_initialstate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">_initialState</span><span class="tsd-signature-symbol">:</span> <a href="../types/OrBoxedValue.html" class="tsd-signature-type tsd-kind-type-alias">OrBoxedValue</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L69">packages/angular/forms/src/lib/form-control.ts:69</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="controlid" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>control<wbr/>Id</span><a href="#controlid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">controlId</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L98">packages/angular/forms/src/lib/form-control.ts:98</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="defaultvalue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>default<wbr/>Value</span><a href="#defaultvalue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">defaultValue</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><div class="tsd-comment tsd-typography"><p>The default value of this FormControl, used whenever the control is reset without an explicit
|
|
82
82
|
value. See <a href="undefined">FormControlOptions#nonNullable</a> for more information on configuring
|
|
83
83
|
a default value.</p>
|
|
84
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.defaultValue</p><ul><li>Defined in node_modules/@angular/forms/
|
|
84
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.defaultValue</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:1604</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="dirty" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>dirty$</span><a href="#dirty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">dirty$</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L78">packages/angular/forms/src/lib/form-control.ts:78</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="disabled" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>disabled$</span><a href="#disabled" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">disabled$</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L83">packages/angular/forms/src/lib/form-control.ts:83</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="enabled" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>enabled$</span><a href="#enabled" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">enabled$</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L84">packages/angular/forms/src/lib/form-control.ts:84</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="errors" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>errors</span><a href="#errors" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">errors</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrole">E</a></div><div class="tsd-comment tsd-typography"><p>An object containing any errors generated by failing validation,
|
|
85
85
|
or null if there are no errors.</p>
|
|
86
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.errors</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
86
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.errors</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L59">packages/angular/forms/src/lib/form-control.ts:59</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="errors-1" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>errors$</span><a href="#errors-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">errors$</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrole">E</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L96">packages/angular/forms/src/lib/form-control.ts:96</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="events" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>events</span><a href="#events" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">events</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ControlEvent</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>A multicasting observable that emits an event every time the state of the control changes.
|
|
87
87
|
It emits for value, status, pristine or touched changes.</p>
|
|
88
88
|
<p><strong>Note</strong>: On value change, the emit happens right after a value of this control is updated. The
|
|
89
89
|
value of a parent control (for example if this FormControl is a part of a FormGroup) is updated
|
|
@@ -91,26 +91,28 @@ later, so accessing a value of a parent control (using the <code>value</code> pr
|
|
|
91
91
|
of this event might result in getting a value that has not been updated yet. Subscribe to the
|
|
92
92
|
<code>events</code> of the parent control instead.
|
|
93
93
|
For other event types, the events are emitted after the parent control has been updated.</p>
|
|
94
|
-
</div><div class="tsd-comment tsd-typography"
|
|
95
|
-
</div><div class="tsd-
|
|
94
|
+
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see" class="tsd-anchor"></a>See<a href="#see" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="guide/forms/reactive-forms#unified-control-state-change-events">Unified control state change events</a></p>
|
|
95
|
+
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.events</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2691</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="readonly" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>readonly$</span><a href="#readonly" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">readonly$</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L103">packages/angular/forms/src/lib/form-control.ts:103</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="statechanges" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>state<wbr/>Changes</span><a href="#statechanges" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">stateChanges</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Subject</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L102">packages/angular/forms/src/lib/form-control.ts:102</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="status" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>status</span><a href="#status" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">status</span><span class="tsd-signature-symbol">:</span> <a href="../types/ControlState.html" class="tsd-signature-type tsd-kind-type-alias">ControlState</a></div><div class="tsd-comment tsd-typography"><p>The validation status of the control.</p>
|
|
96
|
+
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-1" class="tsd-anchor"></a>See<a href="#see-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="undefined">FormControlStatus</a></p>
|
|
96
97
|
<p>These status values are mutually exclusive, so a control cannot be
|
|
97
98
|
both valid AND invalid or invalid AND disabled.</p>
|
|
98
|
-
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.status</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
99
|
+
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.status</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L64">packages/angular/forms/src/lib/form-control.ts:64</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="status-1" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>status$</span><a href="#status-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">status$</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><a href="../types/ControlState.html" class="tsd-signature-type tsd-kind-type-alias">ControlState</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L95">packages/angular/forms/src/lib/form-control.ts:95</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="statuschanges" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>status<wbr/>Changes</span><a href="#statuschanges" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">statusChanges</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><a href="../types/ControlState.html" class="tsd-signature-type tsd-kind-type-alias">ControlState</a><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>A multicasting observable that emits an event every time the validation <code>status</code> of the control
|
|
99
100
|
recalculates.</p>
|
|
100
|
-
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-
|
|
101
|
+
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-2" class="tsd-anchor"></a>See<a href="#see-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
|
|
101
102
|
<li><a href="undefined">FormControlStatus</a></li>
|
|
102
103
|
<li><a href="../interfaces/AbstractControl.html#status" class="tsd-kind-accessor">AbstractControl.status</a></li>
|
|
103
104
|
</ul>
|
|
104
|
-
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.statusChanges</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
105
|
+
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.statusChanges</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L65">packages/angular/forms/src/lib/form-control.ts:65</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="touch" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>touch$</span><a href="#touch" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">touch$</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L75">packages/angular/forms/src/lib/form-control.ts:75</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="value" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>value</span><a href="#value" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">value</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a></div><div class="tsd-comment tsd-typography"><p>The current value of the control.</p>
|
|
105
106
|
<ul>
|
|
106
107
|
<li>For a <code>FormControl</code>, the current value.</li>
|
|
107
108
|
<li>For an enabled <code>FormGroup</code>, the values of enabled controls as an object
|
|
108
109
|
with a key-value pair for each member of the group.</li>
|
|
109
110
|
<li>For a disabled <code>FormGroup</code>, the values of all controls as an object
|
|
110
111
|
with a key-value pair for each member of the group.</li>
|
|
111
|
-
<li>For
|
|
112
|
+
<li>For an enabled <code>FormArray</code>, the values of enabled controls as an array.</li>
|
|
113
|
+
<li>For a disabled <code>FormArray</code>, the values of all controls as an array.</li>
|
|
112
114
|
</ul>
|
|
113
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.value</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
115
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.value</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L58">packages/angular/forms/src/lib/form-control.ts:58</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="value-1" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>value$</span><a href="#value-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">value$</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L82">packages/angular/forms/src/lib/form-control.ts:82</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="valuechanges" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>value<wbr/>Changes</span><a href="#valuechanges" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">valueChanges</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>A multicasting observable that emits an event every time the value of the control changes, in
|
|
114
116
|
the UI or programmatically. It also emits an event each time you call enable() or disable()
|
|
115
117
|
without passing along {emitEvent: false} as a function argument.</p>
|
|
116
118
|
<p><strong>Note</strong>: the emit happens right after a value of this control is updated. The value of a
|
|
@@ -118,74 +120,74 @@ parent control (for example if this FormControl is a part of a FormGroup) is upd
|
|
|
118
120
|
accessing a value of a parent control (using the <code>value</code> property) from the callback of this
|
|
119
121
|
event might result in getting a value that has not been updated yet. Subscribe to the
|
|
120
122
|
<code>valueChanges</code> event of the parent control instead.</p>
|
|
121
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.valueChanges</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
123
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.valueChanges</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L62">packages/angular/forms/src/lib/form-control.ts:62</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Accessors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Accessors</h2></summary><section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="asyncvalidator" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>async<wbr/>Validator</span><a href="#asyncvalidator" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature" id="asyncvalidator-1"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">asyncValidator</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">AsyncValidatorFn</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns the function that is used to determine the validity of this control asynchronously.
|
|
122
124
|
If multiple validators have been added, this will be a single composed function.
|
|
123
125
|
See <code>Validators.compose()</code> for additional information.</p>
|
|
124
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">AsyncValidatorFn</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.asyncValidator</p><ul><li>Defined in node_modules/@angular/forms/
|
|
126
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">AsyncValidatorFn</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.asyncValidator</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2573</li></ul></aside></div></li><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature" id="asyncvalidator-2"><span class="tsd-signature-keyword">set</span> <span class="tsd-kind-set-signature">asyncValidator</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">asyncValidatorFn</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">AsyncValidatorFn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">asyncValidatorFn</span>: <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">AsyncValidatorFn</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from UntypedFormControl.asyncValidator</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2574</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="controlpath" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>control<wbr/>Path</span><a href="#controlpath" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature" id="controlpath-1"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">controlPath</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L105">packages/angular/forms/src/lib/form-control.ts:105</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="dirty-1" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>dirty</span><a href="#dirty-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature" id="dirty-2"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">dirty</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>A control is <code>dirty</code> if the user has changed the value
|
|
125
127
|
in the UI.</p>
|
|
126
128
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if the user has changed the value of this control in the UI; compare <code>pristine</code>.
|
|
127
129
|
Programmatic changes to a control's value do not mark it dirty.</p>
|
|
128
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.dirty</p><ul><li>Defined in node_modules/@angular/forms/
|
|
130
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.dirty</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2661</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="disabled-1" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>disabled</span><a href="#disabled-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature" id="disabled-2"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">disabled</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>A control is <code>disabled</code> when its <code>status</code> is <code>DISABLED</code>.</p>
|
|
129
131
|
<p>Disabled controls are exempt from validation checks and
|
|
130
132
|
are not included in the aggregate value of their ancestor
|
|
131
133
|
controls.</p>
|
|
132
134
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if the control is disabled, false otherwise.</p>
|
|
133
|
-
<div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-
|
|
134
|
-
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.disabled</p><ul><li>Defined in node_modules/@angular/forms/
|
|
135
|
+
<div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-3" class="tsd-anchor"></a>See<a href="#see-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../interfaces/AbstractControl.html#status" class="tsd-kind-accessor">AbstractControl.status</a></p>
|
|
136
|
+
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.disabled</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2628</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="enabled-1" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enabled</span><a href="#enabled-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature" id="enabled-2"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">enabled</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>A control is <code>enabled</code> as long as its <code>status</code> is not <code>DISABLED</code>.</p>
|
|
135
137
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if the control has any status other than 'DISABLED',
|
|
136
138
|
false if the status is 'DISABLED'.</p>
|
|
137
|
-
<div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-
|
|
138
|
-
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.enabled</p><ul><li>Defined in node_modules/@angular/forms/
|
|
139
|
+
<div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-4" class="tsd-anchor"></a>See<a href="#see-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../interfaces/AbstractControl.html#status" class="tsd-kind-accessor">AbstractControl.status</a></p>
|
|
140
|
+
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.enabled</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2638</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="fullcontrolpath" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>full<wbr/>Control<wbr/>Path</span><a href="#fullcontrolpath" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature" id="fullcontrolpath-1"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">fullControlPath</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L119">packages/angular/forms/src/lib/form-control.ts:119</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="initialstate" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>initial<wbr/>State</span><a href="#initialstate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature" id="initialstate-1"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">initialState</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../types/OrBoxedValue.html" class="tsd-signature-type tsd-kind-type-alias">OrBoxedValue</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">></span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="../types/OrBoxedValue.html" class="tsd-signature-type tsd-kind-type-alias">OrBoxedValue</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L66">packages/angular/forms/src/lib/form-control.ts:66</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="invalid" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>invalid</span><a href="#invalid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature" id="invalid-1"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">invalid</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>A control is <code>invalid</code> when its <code>status</code> is <code>INVALID</code>.</p>
|
|
139
141
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if this control has failed one or more of its validation checks,
|
|
140
142
|
false otherwise.</p>
|
|
141
|
-
<div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-
|
|
142
|
-
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.invalid</p><ul><li>Defined in node_modules/@angular/forms/
|
|
143
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">FormGroup</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">FormArray</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.parent</p><ul><li>Defined in node_modules/@angular/forms/
|
|
143
|
+
<div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-5" class="tsd-anchor"></a>See<a href="#see-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../interfaces/AbstractControl.html#status" class="tsd-kind-accessor">AbstractControl.status</a></p>
|
|
144
|
+
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.invalid</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2607</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="parent-1" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>parent</span><a href="#parent-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature" id="parent-2"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">parent</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">FormGroup</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">FormArray</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>The parent control.</p>
|
|
145
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">FormGroup</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">FormArray</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.parent</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2578</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="pending" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>pending</span><a href="#pending" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature" id="pending-1"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">pending</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>A control is <code>pending</code> when its <code>status</code> is <code>PENDING</code>.</p>
|
|
144
146
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if this control is in the process of conducting a validation check,
|
|
145
147
|
false otherwise.</p>
|
|
146
|
-
<div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-
|
|
147
|
-
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.pending</p><ul><li>Defined in node_modules/@angular/forms/
|
|
148
|
+
<div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-6" class="tsd-anchor"></a>See<a href="#see-6" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../interfaces/AbstractControl.html#status" class="tsd-kind-accessor">AbstractControl.status</a></p>
|
|
149
|
+
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.pending</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2616</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="pristine" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>pristine</span><a href="#pristine" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature" id="pristine-1"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">pristine</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>A control is <code>pristine</code> if the user has not yet changed
|
|
148
150
|
the value in the UI.</p>
|
|
149
151
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if the user has not yet changed the value in the UI; compare <code>dirty</code>.
|
|
150
152
|
Programmatic changes to a control's value do not mark it dirty.</p>
|
|
151
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.pristine</p><ul><li>Defined in node_modules/@angular/forms/
|
|
152
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">AbstractControl</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.root</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:2758</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="rxapformdefinition" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>rxap<wbr/>Form<wbr/>Definition</span><a href="#rxapformdefinition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature" id="rxapformdefinition-1"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">rxapFormDefinition</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">undefined</span><br/><span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/FormDefinition.html" class="tsd-signature-type tsd-kind-interface">FormDefinition</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-signature-symbol">[</span><span class="tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">in</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">?</span> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/FormDefinitionArray.html" class="tsd-signature-type tsd-kind-interface">FormDefinitionArray</a><span class="tsd-signature-symbol"><</span><a href="../types/FormType.html" class="tsd-signature-type tsd-kind-type-alias">FormType</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/FormDefinitionArray.html" class="tsd-signature-type tsd-kind-interface">FormDefinitionArray</a><span class="tsd-signature-symbol"><</span><a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="RxapFormArray.html" class="tsd-signature-type tsd-kind-class">RxapFormArray</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">?</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/FormDefinition.html" class="tsd-signature-type tsd-kind-interface">FormDefinition</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-signature-symbol">[</span><span class="tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">in</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">?</span> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/FormDefinitionArray.html" class="tsd-signature-type tsd-kind-interface">FormDefinitionArray</a><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/FormDefinitionArray.html" class="tsd-signature-type tsd-kind-interface">FormDefinitionArray</a><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="RxapFormArray.html" class="tsd-signature-type tsd-kind-class">RxapFormArray</a><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">:</span> (...)<span class="tsd-signature-symbol">[</span>(...)<span class="tsd-signature-symbol">]</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">?</span> (...) <span class="tsd-signature-symbol">|</span> (...)<br/> <span class="tsd-signature-symbol">:</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">}</span> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/FormDefinition.html" class="tsd-signature-type tsd-kind-interface">FormDefinition</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">:</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">NonEmpty</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><br/><span class="tsd-signature-symbol">}</span> <span class="tsd-signature-symbol">&</span> <a href="../interfaces/FormDefinition.html" class="tsd-signature-type tsd-kind-interface">FormDefinition</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></div><div class="tsd-description"><code class="tsd-tag">Internal</code><h4 class="tsd-returns-title">Returns <br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">undefined</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/FormDefinition.html" class="tsd-signature-type tsd-kind-interface">FormDefinition</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-signature-symbol">[</span><span class="tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">in</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">?</span> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/FormDefinitionArray.html" class="tsd-signature-type tsd-kind-interface">FormDefinitionArray</a><span class="tsd-signature-symbol"><</span><a href="../types/FormType.html" class="tsd-signature-type tsd-kind-type-alias">FormType</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/FormDefinitionArray.html" class="tsd-signature-type tsd-kind-interface">FormDefinitionArray</a><span class="tsd-signature-symbol"><</span><a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="RxapFormArray.html" class="tsd-signature-type tsd-kind-class">RxapFormArray</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">?</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/FormDefinition.html" class="tsd-signature-type tsd-kind-interface">FormDefinition</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-signature-symbol">[</span><span class="tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">in</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">?</span> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/FormDefinitionArray.html" class="tsd-signature-type tsd-kind-interface">FormDefinitionArray</a><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/FormDefinitionArray.html" class="tsd-signature-type tsd-kind-interface">FormDefinitionArray</a><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="RxapFormArray.html" class="tsd-signature-type tsd-kind-class">RxapFormArray</a><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">:</span> (...)<span class="tsd-signature-symbol">[</span>(...)<span class="tsd-signature-symbol">]</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">?</span> (...) <span class="tsd-signature-symbol">|</span> (...)<br/> <span class="tsd-signature-symbol">:</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">}</span> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/FormDefinition.html" class="tsd-signature-type tsd-kind-interface">FormDefinition</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">:</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">NonEmpty</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">}</span> <span class="tsd-signature-symbol">&</span> <a href="../interfaces/FormDefinition.html" class="tsd-signature-type tsd-kind-interface">FormDefinition</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/forms/src/lib/form-control.ts#L52">packages/angular/forms/src/lib/form-control.ts:52</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="touched" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>touched</span><a href="#touched" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature" id="touched-1"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">touched</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>True if the control is marked as <code>touched</code>.</p>
|
|
153
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.pristine</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2651</li></ul></aside></div></li><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature" id="pristine-2"><span class="tsd-signature-keyword">set</span> <span class="tsd-kind-set-signature">pristine</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from UntypedFormControl.pristine</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2652</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="readonly-1" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>readonly</span><a href="#readonly-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature" id="readonly-2"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">readonly</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L86">packages/angular/forms/src/lib/form-control.ts:86</a></li></ul></aside></div></li><li class=""><div class="tsd-signature" id="readonly-3"><span class="tsd-signature-keyword">set</span> <span class="tsd-kind-set-signature">readonly</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L90">packages/angular/forms/src/lib/form-control.ts:90</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="root" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>root</span><a href="#root" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature" id="root-1"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">root</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">AbstractControl</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Retrieves the top-level ancestor of this control.</p>
|
|
154
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">AbstractControl</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.root</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:3203</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="rxapformdefinition" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>rxap<wbr/>Form<wbr/>Definition</span><a href="#rxapformdefinition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature" id="rxapformdefinition-1"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">rxapFormDefinition</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">undefined</span><br/><span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/FormDefinition.html" class="tsd-signature-type tsd-kind-interface">FormDefinition</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-signature-symbol">[</span><span class="tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">in</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">?</span> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/FormDefinitionArray.html" class="tsd-signature-type tsd-kind-interface">FormDefinitionArray</a><span class="tsd-signature-symbol"><</span><a href="../types/FormType.html" class="tsd-signature-type tsd-kind-type-alias">FormType</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/FormDefinitionArray.html" class="tsd-signature-type tsd-kind-interface">FormDefinitionArray</a><span class="tsd-signature-symbol"><</span><a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="RxapFormArray.html" class="tsd-signature-type tsd-kind-class">RxapFormArray</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">?</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/FormDefinition.html" class="tsd-signature-type tsd-kind-interface">FormDefinition</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-signature-symbol">[</span><span class="tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">in</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">?</span> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/FormDefinitionArray.html" class="tsd-signature-type tsd-kind-interface">FormDefinitionArray</a><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/FormDefinitionArray.html" class="tsd-signature-type tsd-kind-interface">FormDefinitionArray</a><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="RxapFormArray.html" class="tsd-signature-type tsd-kind-class">RxapFormArray</a><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">:</span> (...)<span class="tsd-signature-symbol">[</span>(...)<span class="tsd-signature-symbol">]</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">?</span> (...) <span class="tsd-signature-symbol">|</span> (...)<br/> <span class="tsd-signature-symbol">:</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">}</span> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/FormDefinition.html" class="tsd-signature-type tsd-kind-interface">FormDefinition</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">:</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">NonEmpty</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><br/><span class="tsd-signature-symbol">}</span> <span class="tsd-signature-symbol">&</span> <a href="../interfaces/FormDefinition.html" class="tsd-signature-type tsd-kind-interface">FormDefinition</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></div><div class="tsd-description"><code class="tsd-tag">Internal</code><h4 class="tsd-returns-title">Returns <br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">undefined</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/FormDefinition.html" class="tsd-signature-type tsd-kind-interface">FormDefinition</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-signature-symbol">[</span><span class="tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">in</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">?</span> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/FormDefinitionArray.html" class="tsd-signature-type tsd-kind-interface">FormDefinitionArray</a><span class="tsd-signature-symbol"><</span><a href="../types/FormType.html" class="tsd-signature-type tsd-kind-type-alias">FormType</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/FormDefinitionArray.html" class="tsd-signature-type tsd-kind-interface">FormDefinitionArray</a><span class="tsd-signature-symbol"><</span><a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="RxapFormArray.html" class="tsd-signature-type tsd-kind-class">RxapFormArray</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">?</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/FormDefinition.html" class="tsd-signature-type tsd-kind-interface">FormDefinition</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-signature-symbol">[</span><span class="tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">in</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type tsd-kind-type-parameter">U</span><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">?</span> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/FormDefinitionArray.html" class="tsd-signature-type tsd-kind-interface">FormDefinitionArray</a><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="../interfaces/FormDefinitionArray.html" class="tsd-signature-type tsd-kind-interface">FormDefinitionArray</a><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="RxapFormArray.html" class="tsd-signature-type tsd-kind-class">RxapFormArray</a><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">:</span> (...)<span class="tsd-signature-symbol">[</span>(...)<span class="tsd-signature-symbol">]</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">?</span> (...) <span class="tsd-signature-symbol">|</span> (...)<br/> <span class="tsd-signature-symbol">:</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span>(...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">,</span> (...)<span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">}</span> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/FormDefinition.html" class="tsd-signature-type tsd-kind-interface">FormDefinition</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">:</span> <a href="RxapFormControl.html" class="tsd-signature-type tsd-kind-class">RxapFormControl</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">NonEmpty</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">}</span> <span class="tsd-signature-symbol">&</span> <a href="../interfaces/FormDefinition.html" class="tsd-signature-type tsd-kind-interface">FormDefinition</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolparent">Parent</a><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L52">packages/angular/forms/src/lib/form-control.ts:52</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="touched" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>touched</span><a href="#touched" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature" id="touched-1"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">touched</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>True if the control is marked as <code>touched</code>.</p>
|
|
153
155
|
<p>A control is marked <code>touched</code> once the user has triggered
|
|
154
156
|
a <code>blur</code> event on it.</p>
|
|
155
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.touched</p><ul><li>Defined in node_modules/@angular/forms/
|
|
157
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.touched</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2668</li></ul></aside></div></li><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature" id="touched-2"><span class="tsd-signature-keyword">set</span> <span class="tsd-kind-set-signature">touched</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from UntypedFormControl.touched</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2669</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="untouched" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>untouched</span><a href="#untouched" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature" id="untouched-1"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">untouched</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>True if the control has not been marked as touched</p>
|
|
156
158
|
<p>A control is <code>untouched</code> if the user has not yet triggered
|
|
157
159
|
a <code>blur</code> event on it.</p>
|
|
158
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.untouched</p><ul><li>Defined in node_modules/@angular/forms/
|
|
160
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.untouched</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2677</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="updateon" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>On</span><a href="#updateon" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature" id="updateon-1"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">updateOn</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">FormHooks</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Reports the update strategy of the <code>AbstractControl</code> (meaning
|
|
159
161
|
the event on which the control updates itself).
|
|
160
162
|
Possible values: <code>'change'</code> | <code>'blur'</code> | <code>'submit'</code>
|
|
161
163
|
Default value: <code>'change'</code></p>
|
|
162
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">FormHooks</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.updateOn</p><ul><li>Defined in node_modules/@angular/forms/
|
|
164
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">FormHooks</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.updateOn</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2718</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="valid" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>valid</span><a href="#valid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature" id="valid-1"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">valid</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>A control is <code>valid</code> when its <code>status</code> is <code>VALID</code>.</p>
|
|
163
165
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if the control has passed all of its validation tests,
|
|
164
166
|
false otherwise.</p>
|
|
165
|
-
<div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-
|
|
166
|
-
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.valid</p><ul><li>Defined in node_modules/@angular/forms/
|
|
167
|
+
<div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-7" class="tsd-anchor"></a>See<a href="#see-7" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../interfaces/AbstractControl.html#status" class="tsd-kind-accessor">AbstractControl.status</a></p>
|
|
168
|
+
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.valid</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2598</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="validator" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>validator</span><a href="#validator" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature" id="validator-1"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">validator</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">ValidatorFn</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns the function that is used to determine the validity of this control synchronously.
|
|
167
169
|
If multiple validators have been added, this will be a single composed function.
|
|
168
170
|
See <code>Validators.compose()</code> for additional information.</p>
|
|
169
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">ValidatorFn</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.validator</p><ul><li>Defined in node_modules/@angular/forms/
|
|
171
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">ValidatorFn</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.validator</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2566</li></ul></aside></div></li><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature" id="validator-2"><span class="tsd-signature-keyword">set</span> <span class="tsd-kind-set-signature">validator</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validatorFn</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">ValidatorFn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">validatorFn</span>: <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">ValidatorFn</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from UntypedFormControl.validator</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2567</li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="addasyncvalidators" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add<wbr/>Async<wbr/>Validators</span><a href="#addasyncvalidators" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link"><a id="addasyncvalidators-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">addAsyncValidators</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">AsyncValidatorFn</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">AsyncValidatorFn</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#addasyncvalidators-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Add an asynchronous validator or validators to this control, without affecting other
|
|
170
172
|
validators.</p>
|
|
171
173
|
<p>When you add or remove a validator at run time, you must call
|
|
172
174
|
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
173
175
|
<p>Adding a validator that already exists will have no effect.</p>
|
|
174
176
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">validators</span>: <span class="tsd-signature-type">AsyncValidatorFn</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">AsyncValidatorFn</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The new asynchronous validator function or functions to add to this control.</p>
|
|
175
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.addAsyncValidators</p><ul><li>Defined in node_modules/@angular/forms/
|
|
177
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.addAsyncValidators</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2765</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="addvalidators" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add<wbr/>Validators</span><a href="#addvalidators" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link"><a id="addvalidators-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">addValidators</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ValidatorFn</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">ValidatorFn</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#addvalidators-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Add a synchronous validator or validators to this control, without affecting other validators.</p>
|
|
176
178
|
<p>When you add or remove a validator at run time, you must call
|
|
177
179
|
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
178
180
|
<p>Adding a validator that already exists will have no effect. If duplicate validator functions
|
|
179
181
|
are present in the <code>validators</code> array, only the first instance would be added to a form
|
|
180
182
|
control.</p>
|
|
181
183
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">validators</span>: <span class="tsd-signature-type">ValidatorFn</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">ValidatorFn</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The new validator function or functions to add to this control.</p>
|
|
182
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.addValidators</p><ul><li>Defined in node_modules/@angular/forms/
|
|
184
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.addValidators</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2753</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="clearasyncvalidators" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>clear<wbr/>Async<wbr/>Validators</span><a href="#clearasyncvalidators" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link"><a id="clearasyncvalidators-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">clearAsyncValidators</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#clearasyncvalidators-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Empties out the async validator list.</p>
|
|
183
185
|
<p>When you add or remove a validator at run time, you must call
|
|
184
186
|
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
185
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.clearAsyncValidators</p><ul><li>Defined in node_modules/@angular/forms/
|
|
187
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.clearAsyncValidators</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2852</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="clearvalidators" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>clear<wbr/>Validators</span><a href="#clearvalidators" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link"><a id="clearvalidators-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">clearValidators</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#clearvalidators-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Empties out the synchronous validator list.</p>
|
|
186
188
|
<p>When you add or remove a validator at run time, you must call
|
|
187
189
|
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
188
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.clearValidators</p><ul><li>Defined in node_modules/@angular/forms/
|
|
190
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.clearValidators</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2844</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="disable" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>disable</span><a href="#disable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link"><a id="disable-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">disable</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">emitEvent</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">onlySelf</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#disable-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Disables the control. This means the control is exempt from validation checks and
|
|
189
191
|
excluded from the aggregate value of any parent. Its status is <code>DISABLED</code>.</p>
|
|
190
192
|
<p>If the control has children, all children are also disabled.</p>
|
|
191
193
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">emitEvent</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">onlySelf</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span></span><div class="tsd-comment tsd-typography"><p>Configuration options that determine how the control propagates
|
|
@@ -198,8 +200,8 @@ marks all direct ancestors. Default is false.</li>
|
|
|
198
200
|
observables emit events with the latest status and value when the control is disabled.
|
|
199
201
|
When false, no events are emitted.</li>
|
|
200
202
|
</ul>
|
|
201
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-
|
|
202
|
-
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.disable</p><ul><li>Defined in node_modules/@angular/forms/
|
|
203
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-8" class="tsd-anchor"></a>See<a href="#see-8" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../interfaces/AbstractControl.html#status" class="tsd-kind-accessor">AbstractControl.status</a></p>
|
|
204
|
+
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.disable</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:3020</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="disabledwhile" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>disabled<wbr/>While</span><a href="#disabledwhile" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="disabledwhile-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">disabledWhile</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">observable</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/ControlOptions.html" class="tsd-signature-type tsd-kind-interface">ControlOptions</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Subscription</span><a href="#disabledwhile-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">observable</span>: <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <a href="../interfaces/ControlOptions.html" class="tsd-signature-type tsd-kind-interface">ControlOptions</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Subscription</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L191">packages/angular/forms/src/lib/form-control.ts:191</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="enable" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enable</span><a href="#enable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link"><a id="enable-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">enable</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">emitEvent</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">onlySelf</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#enable-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Enables the control. This means the control is included in validation checks and
|
|
203
205
|
the aggregate value of its parent. Its status recalculates based on its value and
|
|
204
206
|
its validators.</p>
|
|
205
207
|
<p>By default, if the control has children, all children are enabled.</p>
|
|
@@ -213,13 +215,13 @@ marks all direct ancestors. Default is false.</li>
|
|
|
213
215
|
observables emit events with the latest status and value when the control is enabled.
|
|
214
216
|
When false, no events are emitted.</li>
|
|
215
217
|
</ul>
|
|
216
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-
|
|
217
|
-
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.enable</p><ul><li>Defined in node_modules/@angular/forms/
|
|
218
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-9" class="tsd-anchor"></a>See<a href="#see-9" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../interfaces/AbstractControl.html#status" class="tsd-kind-accessor">AbstractControl.status</a></p>
|
|
219
|
+
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.enable</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:3042</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="enabledwhile" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enabled<wbr/>While</span><a href="#enabledwhile" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="enabledwhile-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">enabledWhile</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">observable</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/ControlOptions.html" class="tsd-signature-type tsd-kind-interface">ControlOptions</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Subscription</span><a href="#enabledwhile-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">observable</span>: <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <a href="../interfaces/ControlOptions.html" class="tsd-signature-type tsd-kind-interface">ControlOptions</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Subscription</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L198">packages/angular/forms/src/lib/form-control.ts:198</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="get" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get</span><a href="#get" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link"><a id="get-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#getp">P</a> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-keyword">readonly</span> (<span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span>)<span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">path</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormArray.html#getp">P</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">AbstractControl</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ɵGetProperty</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormArray.html#getp">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">ɵGetProperty</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormArray.html#getp">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><a href="#get-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Retrieves a child control given the control's name or path.</p>
|
|
218
220
|
<p>This signature for get supports strings and <code>const</code> arrays (<code>.get(['foo', 'bar'] as const)</code>).</p>
|
|
219
|
-
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getp" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">P</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-keyword">readonly</span> (<span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span>)<span class="tsd-signature-symbol">[]</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">path</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormArray.html#getp">P</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">AbstractControl</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ɵGetProperty</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormArray.html#getp">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">ɵGetProperty</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormArray.html#getp">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.get</p><ul><li>Defined in node_modules/@angular/forms/
|
|
221
|
+
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getp" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">P</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-keyword">readonly</span> (<span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span>)<span class="tsd-signature-symbol">[]</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">path</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormArray.html#getp">P</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">AbstractControl</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ɵGetProperty</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormArray.html#getp">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">ɵGetProperty</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormArray.html#getp">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.get</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:3133</li></ul></aside></div></li><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link"><a id="get-2" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#getp-1">P</a> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> (<span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span>)<span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">path</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormArray.html#getp-1">P</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">AbstractControl</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ɵGetProperty</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormArray.html#getp-1">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">ɵGetProperty</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormArray.html#getp-1">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><a href="#get-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Retrieves a child control given the control's name or path.</p>
|
|
220
222
|
<p>This signature for <code>get</code> supports non-const (mutable) arrays. Inferred type
|
|
221
223
|
information will not be as robust, so prefer to pass a <code>readonly</code> array if possible.</p>
|
|
222
|
-
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getp-1" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">P</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> (<span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span>)<span class="tsd-signature-symbol">[]</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">path</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormArray.html#getp-1">P</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">AbstractControl</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ɵGetProperty</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormArray.html#getp-1">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">ɵGetProperty</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormArray.html#getp-1">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.get</p><ul><li>Defined in node_modules/@angular/forms/
|
|
224
|
+
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getp-1" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">P</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> (<span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span>)<span class="tsd-signature-symbol">[]</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">path</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormArray.html#getp-1">P</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">AbstractControl</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ɵGetProperty</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormArray.html#getp-1">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">ɵGetProperty</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormArray.html#getp-1">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.get</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:3140</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="geterror" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Error</span><a href="#geterror" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="geterror-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getError</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#geterrork">K</a> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">errorCode</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#geterrork">K</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrole">E</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#geterrork">K</a><span class="tsd-signature-symbol">]</span><a href="#geterror-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="geterrork" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">K</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">string</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">errorCode</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#geterrork">K</a></span><div class="tsd-comment tsd-typography"><p>The code of the error to check</p>
|
|
223
225
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrole">E</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#geterrork">K</a><span class="tsd-signature-symbol">]</span></h4><p>error data for that particular error. If the control or error is not present,
|
|
224
226
|
null is returned.</p>
|
|
225
227
|
<div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link"><a id="description" class="tsd-anchor"></a>Description<a href="#description" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Reports error data for the control with the given path.</p>
|
|
@@ -233,13 +235,13 @@ null is returned.</p>
|
|
|
233
235
|
<li>An array of string control names, e.g. <code>['address', 'street']</code></li>
|
|
234
236
|
<li>A period-delimited list of control names in one string, e.g. <code>'address.street'</code></li>
|
|
235
237
|
</ol>
|
|
236
|
-
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.getError</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
237
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.getRawValue</p><ul><li>Defined in node_modules/@angular/forms/
|
|
238
|
+
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.getError</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L279">packages/angular/forms/src/lib/form-control.ts:279</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getrawvalue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Raw<wbr/>Value</span><a href="#getrawvalue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link"><a id="getrawvalue-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getRawValue</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><a href="#getrawvalue-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>For a simple FormControl, the raw value is equivalent to the value.</p>
|
|
239
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.getRawValue</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:1691</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="hasasyncvalidator" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>has<wbr/>Async<wbr/>Validator</span><a href="#hasasyncvalidator" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link"><a id="hasasyncvalidator-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">hasAsyncValidator</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validator</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">AsyncValidatorFn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#hasasyncvalidator-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Check whether an asynchronous validator function is present on this control. The provided
|
|
238
240
|
validator must be a reference to the exact same function that was provided.</p>
|
|
239
241
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">validator</span>: <span class="tsd-signature-type">AsyncValidatorFn</span></span><div class="tsd-comment tsd-typography"><p>The asynchronous validator to check for presence. Compared by function
|
|
240
242
|
reference.</p>
|
|
241
243
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether the provided asynchronous validator was found on this control.</p>
|
|
242
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.hasAsyncValidator</p><ul><li>Defined in node_modules/@angular/forms/
|
|
244
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.hasAsyncValidator</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2836</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="haserror" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>has<wbr/>Error</span><a href="#haserror" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="haserror-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">hasError</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#haserrork">K</a> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">errorCode</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#haserrork">K</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#haserror-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="haserrork" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">K</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">string</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">errorCode</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#haserrork">K</a></span><div class="tsd-comment tsd-typography"><p>The code of the error to check</p>
|
|
243
245
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>whether the given error is present in the control at the given path.</p>
|
|
244
246
|
<p>If the control is not present, false is returned.</p>
|
|
245
247
|
<div class="tsd-comment tsd-typography"><div class="tsd-tag-description"><h4 class="tsd-anchor-link"><a id="description-1" class="tsd-anchor"></a>Description<a href="#description-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Reports whether the control with the given path has the error specified.</p>
|
|
@@ -254,14 +256,19 @@ reference.</p>
|
|
|
254
256
|
<li>A period-delimited list of control names in one string, e.g. <code>'address.street'</code></li>
|
|
255
257
|
</ol>
|
|
256
258
|
<p>If no path is given, this method checks for the error on the current control.</p>
|
|
257
|
-
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.hasError</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
259
|
+
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.hasError</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L283">packages/angular/forms/src/lib/form-control.ts:283</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="haserroranddirty" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>has<wbr/>Error<wbr/>And<wbr/>Dirty</span><a href="#haserroranddirty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="haserroranddirty-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">hasErrorAndDirty</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">error</span><span class="tsd-signature-symbol">:</span> <a href="../types/ExtractStrings.html" class="tsd-signature-type tsd-kind-type-alias">ExtractStrings</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrole">E</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#haserroranddirty-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">error</span>: <a href="../types/ExtractStrings.html" class="tsd-signature-type tsd-kind-type-alias">ExtractStrings</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrole">E</a><span class="tsd-signature-symbol">></span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L299">packages/angular/forms/src/lib/form-control.ts:299</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="haserrorandtouched" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>has<wbr/>Error<wbr/>And<wbr/>Touched</span><a href="#haserrorandtouched" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="haserrorandtouched-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">hasErrorAndTouched</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">error</span><span class="tsd-signature-symbol">:</span> <a href="../types/ExtractStrings.html" class="tsd-signature-type tsd-kind-type-alias">ExtractStrings</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrole">E</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#haserrorandtouched-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">error</span>: <a href="../types/ExtractStrings.html" class="tsd-signature-type tsd-kind-type-alias">ExtractStrings</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrole">E</a><span class="tsd-signature-symbol">></span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L295">packages/angular/forms/src/lib/form-control.ts:295</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="hasvalidator" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>has<wbr/>Validator</span><a href="#hasvalidator" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link"><a id="hasvalidator-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">hasValidator</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validator</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ValidatorFn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#hasvalidator-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Check whether a synchronous validator function is present on this control. The provided
|
|
258
260
|
validator must be a reference to the exact same function that was provided.</p>
|
|
259
261
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">validator</span>: <span class="tsd-signature-type">ValidatorFn</span></span><div class="tsd-comment tsd-typography"><p>The validator to check for presence. Compared by function reference.</p>
|
|
260
262
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether the provided validator was found on this control.</p>
|
|
261
|
-
<div class="tsd-comment tsd-typography"><div class="tsd-tag-usageNotes"><h4 class="tsd-anchor-link"><a id="usage-notes-2" class="tsd-anchor"></a>Usage Notes<a href="#usage-notes-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><
|
|
262
|
-
</code><button>Copy</button></pre>
|
|
263
|
+
<div class="tsd-comment tsd-typography"><div class="tsd-tag-usageNotes"><h4 class="tsd-anchor-link"><a id="usage-notes-2" class="tsd-anchor"></a>Usage Notes<a href="#usage-notes-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-8">// Reference to the RequiredValidator</span><br/><span class="hl-5">const</span><span class="hl-1"> </span><span class="hl-7">ctrl</span><span class="hl-1"> = </span><span class="hl-5">new</span><span class="hl-1"> </span><span class="hl-0">FormControl</span><span class="hl-1"><</span><span class="hl-4">number</span><span class="hl-1"> | </span><span class="hl-4">null</span><span class="hl-1">>(</span><span class="hl-10">0</span><span class="hl-1">, </span><span class="hl-3">Validators</span><span class="hl-1">.</span><span class="hl-3">required</span><span class="hl-1">);</span><br/><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-3">ctrl</span><span class="hl-1">.</span><span class="hl-0">hasValidator</span><span class="hl-1">(</span><span class="hl-3">Validators</span><span class="hl-1">.</span><span class="hl-3">required</span><span class="hl-1">)).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-5">true</span><span class="hl-1">)</span><br/><br/><span class="hl-8">// Reference to anonymous function inside MinValidator</span><br/><span class="hl-5">const</span><span class="hl-1"> </span><span class="hl-7">minValidator</span><span class="hl-1"> = </span><span class="hl-3">Validators</span><span class="hl-1">.</span><span class="hl-0">min</span><span class="hl-1">(</span><span class="hl-10">3</span><span class="hl-1">);</span><br/><span class="hl-5">const</span><span class="hl-1"> </span><span class="hl-7">ctrl</span><span class="hl-1"> = </span><span class="hl-5">new</span><span class="hl-1"> </span><span class="hl-0">FormControl</span><span class="hl-1"><</span><span class="hl-4">number</span><span class="hl-1"> | </span><span class="hl-4">null</span><span class="hl-1">>(</span><span class="hl-10">0</span><span class="hl-1">, </span><span class="hl-3">minValidator</span><span class="hl-1">);</span><br/><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-3">ctrl</span><span class="hl-1">.</span><span class="hl-0">hasValidator</span><span class="hl-1">(</span><span class="hl-3">minValidator</span><span class="hl-1">)).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-5">true</span><span class="hl-1">)</span><br/><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-3">ctrl</span><span class="hl-1">.</span><span class="hl-0">hasValidator</span><span class="hl-1">(</span><span class="hl-3">Validators</span><span class="hl-1">.</span><span class="hl-0">min</span><span class="hl-1">(</span><span class="hl-10">3</span><span class="hl-1">))).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-5">false</span><span class="hl-1">)</span>
|
|
264
|
+
</code><button type="button">Copy</button></pre>
|
|
263
265
|
|
|
264
|
-
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.hasValidator</p><ul><li>Defined in node_modules/@angular/forms/
|
|
266
|
+
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.hasValidator</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2827</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="markallasdirty" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>mark<wbr/>All<wbr/>As<wbr/>Dirty</span><a href="#markallasdirty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="markallasdirty-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">markAllAsDirty</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#markallasdirty-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Marks the control and all its descendant controls as <code>dirty</code>.</p>
|
|
267
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-10" class="tsd-anchor"></a>See<a href="#see-10" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
|
|
268
|
+
<li><a href="RxapFormControl.html#markasdirty" class="tsd-kind-method">()</a></li>
|
|
269
|
+
<li><a href="guide/forms/reactive-forms#managing-form-control-state">Managing form control state</a></li>
|
|
270
|
+
</ul>
|
|
271
|
+
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.markAllAsDirty</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L238">packages/angular/forms/src/lib/form-control.ts:238</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="markallastouched" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>mark<wbr/>All<wbr/>As<wbr/>Touched</span><a href="#markallastouched" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link"><a id="markallastouched-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">markAllAsTouched</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">emitEvent</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#markallastouched-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Marks the control and all its descendant controls as <code>touched</code>.</p>
|
|
265
272
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">emitEvent</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span></span><div class="tsd-comment tsd-typography"><p>Configuration options that determine how the control propagates changes
|
|
266
273
|
and emits events after marking is applied.</p>
|
|
267
274
|
<ul>
|
|
@@ -269,8 +276,11 @@ and emits events after marking is applied.</p>
|
|
|
269
276
|
observable emits a <code>TouchedChangeEvent</code> with the <code>touched</code> property being <code>true</code>.
|
|
270
277
|
When false, no events are emitted.</li>
|
|
271
278
|
</ul>
|
|
272
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-
|
|
273
|
-
|
|
279
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-11" class="tsd-anchor"></a>See<a href="#see-11" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
|
|
280
|
+
<li><a href="RxapFormControl.html#markastouched" class="tsd-kind-method">()</a></li>
|
|
281
|
+
<li><a href="guide/forms/reactive-forms#managing-form-control-state">Managing form control state</a></li>
|
|
282
|
+
</ul>
|
|
283
|
+
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.markAllAsTouched</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2905</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="markasdirty" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>mark<wbr/>As<wbr/>Dirty</span><a href="#markasdirty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="markasdirty-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">markAsDirty</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <a href="../types/OnlySelf.html" class="tsd-signature-type tsd-kind-type-alias">OnlySelf</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#markasdirty-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Marks the control as <code>dirty</code>. A control becomes dirty when
|
|
274
284
|
the control's value is changed through the UI; compare <code>markAsTouched</code>.</p>
|
|
275
285
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">opts</span>: <a href="../types/OnlySelf.html" class="tsd-signature-type tsd-kind-type-alias">OnlySelf</a></span><div class="tsd-comment tsd-typography"><p>Configuration options that determine how the control propagates changes
|
|
276
286
|
and emits events after marking is applied.</p>
|
|
@@ -281,12 +291,13 @@ marks all direct ancestors. Default is false.</li>
|
|
|
281
291
|
observable emits a <code>PristineChangeEvent</code> with the <code>pristine</code> property being <code>false</code>.
|
|
282
292
|
When false, no events are emitted.</li>
|
|
283
293
|
</ul>
|
|
284
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-
|
|
294
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-12" class="tsd-anchor"></a>See<a href="#see-12" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
|
|
285
295
|
<li><a href="RxapFormControl.html#markastouched" class="tsd-kind-method">()</a></li>
|
|
286
296
|
<li><a href="RxapFormControl.html#markasuntouched" class="tsd-kind-method">()</a></li>
|
|
287
297
|
<li><a href="RxapFormControl.html#markaspristine" class="tsd-kind-method">()</a></li>
|
|
298
|
+
<li><a href="guide/forms/reactive-forms#managing-form-control-state">Managing form control state</a></li>
|
|
288
299
|
</ul>
|
|
289
|
-
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.markAsDirty</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
300
|
+
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.markAsDirty</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L233">packages/angular/forms/src/lib/form-control.ts:233</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="markaspending" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>mark<wbr/>As<wbr/>Pending</span><a href="#markaspending" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link"><a id="markaspending-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">markAsPending</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">emitEvent</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">onlySelf</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#markaspending-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Marks the control as <code>pending</code>.</p>
|
|
290
301
|
<p>A control is pending while the control performs async validation.</p>
|
|
291
302
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">emitEvent</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">onlySelf</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span></span><div class="tsd-comment tsd-typography"><p>Configuration options that determine how the control propagates changes and
|
|
292
303
|
emits events after marking is applied.</p>
|
|
@@ -298,8 +309,8 @@ observable emits an event with the latest status the control is marked pending
|
|
|
298
309
|
and the <code>events</code> observable emits a <code>StatusChangeEvent</code> with the <code>status</code> property being
|
|
299
310
|
<code>PENDING</code> When false, no events are emitted.</li>
|
|
300
311
|
</ul>
|
|
301
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-
|
|
302
|
-
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.markAsPending</p><ul><li>Defined in node_modules/@angular/forms/
|
|
312
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-13" class="tsd-anchor"></a>See<a href="#see-13" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../interfaces/AbstractControl.html#status" class="tsd-kind-accessor">AbstractControl.status</a></p>
|
|
313
|
+
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.markAsPending</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2999</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="markaspristine" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>mark<wbr/>As<wbr/>Pristine</span><a href="#markaspristine" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="markaspristine-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">markAsPristine</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <a href="../types/OnlySelf.html" class="tsd-signature-type tsd-kind-type-alias">OnlySelf</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#markaspristine-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Marks the control as <code>pristine</code>.</p>
|
|
303
314
|
<p>If the control has any children, marks all children as <code>pristine</code>,
|
|
304
315
|
and recalculates the <code>pristine</code> status of all parent
|
|
305
316
|
controls.</p>
|
|
@@ -312,12 +323,13 @@ marks all direct ancestors. Default is false.</li>
|
|
|
312
323
|
observable emits a <code>PristineChangeEvent</code> with the <code>pristine</code> property being <code>true</code>.
|
|
313
324
|
When false, no events are emitted.</li>
|
|
314
325
|
</ul>
|
|
315
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-
|
|
326
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-14" class="tsd-anchor"></a>See<a href="#see-14" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
|
|
316
327
|
<li><a href="RxapFormControl.html#markastouched" class="tsd-kind-method">()</a></li>
|
|
317
328
|
<li><a href="RxapFormControl.html#markasuntouched" class="tsd-kind-method">()</a></li>
|
|
318
329
|
<li><a href="RxapFormControl.html#markasdirty" class="tsd-kind-method">()</a></li>
|
|
330
|
+
<li><a href="guide/forms/reactive-forms#managing-form-control-state">Managing form control state</a></li>
|
|
319
331
|
</ul>
|
|
320
|
-
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.markAsPristine</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
332
|
+
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.markAsPristine</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L228">packages/angular/forms/src/lib/form-control.ts:228</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="markastouched" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>mark<wbr/>As<wbr/>Touched</span><a href="#markastouched" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="markastouched-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">markAsTouched</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <a href="../types/OnlySelf.html" class="tsd-signature-type tsd-kind-type-alias">OnlySelf</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#markastouched-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Marks the control as <code>touched</code>. A control is touched by focus and
|
|
321
333
|
blur events that do not change the value.</p>
|
|
322
334
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">opts</span>: <a href="../types/OnlySelf.html" class="tsd-signature-type tsd-kind-type-alias">OnlySelf</a></span><div class="tsd-comment tsd-typography"><p>Configuration options that determine how the control propagates changes
|
|
323
335
|
and emits events after marking is applied.</p>
|
|
@@ -328,12 +340,13 @@ marks all direct ancestors. Default is false.</li>
|
|
|
328
340
|
observable emits a <code>TouchedChangeEvent</code> with the <code>touched</code> property being <code>true</code>.
|
|
329
341
|
When false, no events are emitted.</li>
|
|
330
342
|
</ul>
|
|
331
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-
|
|
343
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-15" class="tsd-anchor"></a>See<a href="#see-15" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
|
|
332
344
|
<li><a href="RxapFormControl.html#markasuntouched" class="tsd-kind-method">()</a></li>
|
|
333
345
|
<li><a href="RxapFormControl.html#markasdirty" class="tsd-kind-method">()</a></li>
|
|
334
346
|
<li><a href="RxapFormControl.html#markaspristine" class="tsd-kind-method">()</a></li>
|
|
347
|
+
<li><a href="guide/forms/reactive-forms#managing-form-control-state">Managing form control state</a></li>
|
|
335
348
|
</ul>
|
|
336
|
-
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.markAsTouched</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
349
|
+
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.markAsTouched</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L218">packages/angular/forms/src/lib/form-control.ts:218</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="markasuntouched" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>mark<wbr/>As<wbr/>Untouched</span><a href="#markasuntouched" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="markasuntouched-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">markAsUntouched</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <a href="../types/OnlySelf.html" class="tsd-signature-type tsd-kind-type-alias">OnlySelf</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#markasuntouched-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Marks the control as <code>untouched</code>.</p>
|
|
337
350
|
<p>If the control has any children, also marks all children as <code>untouched</code>
|
|
338
351
|
and recalculates the <code>touched</code> status of all parent controls.</p>
|
|
339
352
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">opts</span>: <a href="../types/OnlySelf.html" class="tsd-signature-type tsd-kind-type-alias">OnlySelf</a></span><div class="tsd-comment tsd-typography"><p>Configuration options that determine how the control propagates changes
|
|
@@ -345,38 +358,39 @@ marks all direct ancestors. Default is false.</li>
|
|
|
345
358
|
observable emits a <code>TouchedChangeEvent</code> with the <code>touched</code> property being <code>false</code>.
|
|
346
359
|
When false, no events are emitted.</li>
|
|
347
360
|
</ul>
|
|
348
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-
|
|
361
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-16" class="tsd-anchor"></a>See<a href="#see-16" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
|
|
349
362
|
<li><a href="RxapFormControl.html#markastouched" class="tsd-kind-method">()</a></li>
|
|
350
363
|
<li><a href="RxapFormControl.html#markasdirty" class="tsd-kind-method">()</a></li>
|
|
351
364
|
<li><a href="RxapFormControl.html#markaspristine" class="tsd-kind-method">()</a></li>
|
|
365
|
+
<li><a href="guide/forms/reactive-forms#managing-form-control-state">Managing form control state</a></li>
|
|
352
366
|
</ul>
|
|
353
|
-
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.markAsUntouched</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
367
|
+
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.markAsUntouched</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L223">packages/angular/forms/src/lib/form-control.ts:223</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="mergeasyncvalidators" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>merge<wbr/>Async<wbr/>Validators</span><a href="#mergeasyncvalidators" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="mergeasyncvalidators-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">mergeAsyncValidators</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</span><span class="tsd-signature-symbol">:</span> <a href="../types/AsyncValidator.html" class="tsd-signature-type tsd-kind-type-alias">AsyncValidator</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#mergeasyncvalidators-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">validators</span>: <a href="../types/AsyncValidator.html" class="tsd-signature-type tsd-kind-type-alias">AsyncValidator</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L209">packages/angular/forms/src/lib/form-control.ts:209</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="mergevalidators" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>merge<wbr/>Validators</span><a href="#mergevalidators" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="mergevalidators-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">mergeValidators</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</span><span class="tsd-signature-symbol">:</span> <a href="../types/Validator.html" class="tsd-signature-type tsd-kind-type-alias">Validator</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#mergevalidators-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">validators</span>: <a href="../types/Validator.html" class="tsd-signature-type tsd-kind-type-alias">Validator</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L205">packages/angular/forms/src/lib/form-control.ts:205</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="patchvalue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>patch<wbr/>Value</span><a href="#patchvalue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="patchvalue-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">patchValue</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">valueOrObservable</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/ControlOptions.html" class="tsd-signature-type tsd-kind-interface">ControlOptions</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Subscription</span><a href="#patchvalue-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Patches the value of a control.</p>
|
|
354
368
|
<p>This function is functionally the same as <a href="undefined">FormControl#setValue setValue</a> at this level.
|
|
355
369
|
It exists for symmetry with <a href="undefined">FormGroup#patchValue patchValue</a> on <code>FormGroups</code> and
|
|
356
370
|
<code>FormArrays</code>, where it does behave differently.</p>
|
|
357
|
-
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">valueOrObservable</span>: <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">></span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <a href="../interfaces/ControlOptions.html" class="tsd-signature-type tsd-kind-interface">ControlOptions</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Subscription</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-
|
|
358
|
-
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.patchValue</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
371
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">valueOrObservable</span>: <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">></span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <a href="../interfaces/ControlOptions.html" class="tsd-signature-type tsd-kind-interface">ControlOptions</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Subscription</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-17" class="tsd-anchor"></a>See<a href="#see-17" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="undefined">FormControl#setValue</a> for options</p>
|
|
372
|
+
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.patchValue</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L166">packages/angular/forms/src/lib/form-control.ts:166</a></li></ul></aside></div></li><li class=""><div class="tsd-signature tsd-anchor-link"><a id="patchvalue-2" class="tsd-anchor"></a><span class="tsd-kind-call-signature">patchValue</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">valueOrObservable</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/ControlOptions.html" class="tsd-signature-type tsd-kind-interface">ControlOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#patchvalue-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">valueOrObservable</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <a href="../interfaces/ControlOptions.html" class="tsd-signature-type tsd-kind-interface">ControlOptions</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Overrides UntypedFormControl.patchValue</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L170">packages/angular/forms/src/lib/form-control.ts:170</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="registeronchange" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>register<wbr/>On<wbr/>Change</span><a href="#registeronchange" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link"><a id="registeronchange-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">registerOnChange</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#registeronchange-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Register a listener for change events.</p>
|
|
359
373
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">fn</span>: <span class="tsd-signature-type">Function</span></span><div class="tsd-comment tsd-typography"><p>The method that is called when the value changes</p>
|
|
360
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.registerOnChange</p><ul><li>Defined in node_modules/@angular/forms/
|
|
374
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.registerOnChange</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:1697</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="registerondisabledchange" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>register<wbr/>On<wbr/>Disabled<wbr/>Change</span><a href="#registerondisabledchange" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link"><a id="registerondisabledchange-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">registerOnDisabledChange</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">isDisabled</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#registerondisabledchange-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Register a listener for disabled events.</p>
|
|
361
375
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">fn</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">isDisabled</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span></span><div class="tsd-comment tsd-typography"><p>The method that is called when the disabled status changes.</p>
|
|
362
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.registerOnDisabledChange</p><ul><li>Defined in node_modules/@angular/forms/
|
|
376
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.registerOnDisabledChange</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:1703</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="registeronsetvalue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>register<wbr/>On<wbr/>Set<wbr/>Value</span><a href="#registeronsetvalue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="registeronsetvalue-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">registerOnSetValue</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">setValueFn</span><span class="tsd-signature-symbol">:</span> <a href="../types/SetValueFn.html" class="tsd-signature-type tsd-kind-type-alias">SetValueFn</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#registeronsetvalue-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">setValueFn</span>: <a href="../types/SetValueFn.html" class="tsd-signature-type tsd-kind-type-alias">SetValueFn</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">></span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L311">packages/angular/forms/src/lib/form-control.ts:311</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removeasyncvalidators" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>Async<wbr/>Validators</span><a href="#removeasyncvalidators" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link"><a id="removeasyncvalidators-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">removeAsyncValidators</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">AsyncValidatorFn</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">AsyncValidatorFn</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#removeasyncvalidators-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Remove an asynchronous validator from this control, without affecting other validators.
|
|
363
377
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
364
378
|
validator function as the one that was originally set. If a provided validator is not found, it
|
|
365
379
|
is ignored.</p>
|
|
366
380
|
<p>When you add or remove a validator at run time, you must call
|
|
367
381
|
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
368
382
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">validators</span>: <span class="tsd-signature-type">AsyncValidatorFn</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">AsyncValidatorFn</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The asynchronous validator or validators to remove.</p>
|
|
369
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.removeAsyncValidators</p><ul><li>Defined in node_modules/@angular/forms/
|
|
383
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.removeAsyncValidators</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2805</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removevalidators" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>Validators</span><a href="#removevalidators" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link"><a id="removevalidators-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">removeValidators</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ValidatorFn</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">ValidatorFn</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#removevalidators-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Remove a synchronous validator from this control, without affecting other validators.
|
|
370
384
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
371
385
|
validator function as the one that was originally set. If a provided validator is not found,
|
|
372
386
|
it is ignored.</p>
|
|
373
387
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">validators</span>: <span class="tsd-signature-type">ValidatorFn</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">ValidatorFn</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The validator or validators to remove.</p>
|
|
374
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-usageNotes"><h4 class="tsd-anchor-link"><a id="usage-notes-3" class="tsd-anchor"></a>Usage Notes<a href="#usage-notes-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><
|
|
375
|
-
</code><button>Copy</button></pre>
|
|
388
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-usageNotes"><h4 class="tsd-anchor-link"><a id="usage-notes-3" class="tsd-anchor"></a>Usage Notes<a href="#usage-notes-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-8">// Reference to the RequiredValidator</span><br/><span class="hl-5">const</span><span class="hl-1"> </span><span class="hl-7">ctrl</span><span class="hl-1"> = </span><span class="hl-5">new</span><span class="hl-1"> </span><span class="hl-0">FormControl</span><span class="hl-1"><</span><span class="hl-4">string</span><span class="hl-1"> | </span><span class="hl-4">null</span><span class="hl-1">>(</span><span class="hl-2">''</span><span class="hl-1">, </span><span class="hl-3">Validators</span><span class="hl-1">.</span><span class="hl-3">required</span><span class="hl-1">);</span><br/><span class="hl-3">ctrl</span><span class="hl-1">.</span><span class="hl-0">removeValidators</span><span class="hl-1">(</span><span class="hl-3">Validators</span><span class="hl-1">.</span><span class="hl-3">required</span><span class="hl-1">);</span><br/><br/><span class="hl-8">// Reference to anonymous function inside MinValidator</span><br/><span class="hl-5">const</span><span class="hl-1"> </span><span class="hl-7">minValidator</span><span class="hl-1"> = </span><span class="hl-3">Validators</span><span class="hl-1">.</span><span class="hl-0">min</span><span class="hl-1">(</span><span class="hl-10">3</span><span class="hl-1">);</span><br/><span class="hl-5">const</span><span class="hl-1"> </span><span class="hl-7">ctrl</span><span class="hl-1"> = </span><span class="hl-5">new</span><span class="hl-1"> </span><span class="hl-0">FormControl</span><span class="hl-1"><</span><span class="hl-4">string</span><span class="hl-1"> | </span><span class="hl-4">null</span><span class="hl-1">>(</span><span class="hl-2">''</span><span class="hl-1">, </span><span class="hl-3">minValidator</span><span class="hl-1">);</span><br/><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-3">ctrl</span><span class="hl-1">.</span><span class="hl-0">hasValidator</span><span class="hl-1">(</span><span class="hl-3">minValidator</span><span class="hl-1">)).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-5">true</span><span class="hl-1">)</span><br/><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-3">ctrl</span><span class="hl-1">.</span><span class="hl-0">hasValidator</span><span class="hl-1">(</span><span class="hl-3">Validators</span><span class="hl-1">.</span><span class="hl-0">min</span><span class="hl-1">(</span><span class="hl-10">3</span><span class="hl-1">))).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-5">false</span><span class="hl-1">)</span><br/><br/><span class="hl-3">ctrl</span><span class="hl-1">.</span><span class="hl-0">removeValidators</span><span class="hl-1">(</span><span class="hl-3">minValidator</span><span class="hl-1">);</span>
|
|
389
|
+
</code><button type="button">Copy</button></pre>
|
|
376
390
|
|
|
377
391
|
<p>When you add or remove a validator at run time, you must call
|
|
378
392
|
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
379
|
-
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.removeValidators</p><ul><li>Defined in node_modules/@angular/forms/
|
|
393
|
+
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.removeValidators</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:2793</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="reset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>reset</span><a href="#reset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="reset-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">reset</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">formState</span><span class="tsd-signature-symbol">?:</span> <a href="../types/OrBoxedValue.html" class="tsd-signature-type tsd-kind-type-alias">OrBoxedValue</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <a href="../types/ControlEventOptions.html" class="tsd-signature-type tsd-kind-type-alias">ControlEventOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#reset-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Resets the form control, marking it <code>pristine</code> and <code>untouched</code>, and resetting
|
|
380
394
|
the value. The new value will be the provided value (if passed), <code>null</code>, or the initial value
|
|
381
395
|
if <code>nonNullable</code> was set in the constructor via <a href="undefined">FormControlOptions</a>.</p>
|
|
382
396
|
<pre><code class="ts"><span class="hl-8">// By default, the control will reset to null.</span><br/><span class="hl-5">const</span><span class="hl-1"> </span><span class="hl-7">dog</span><span class="hl-1"> = </span><span class="hl-5">new</span><span class="hl-1"> </span><span class="hl-0">FormControl</span><span class="hl-1">(</span><span class="hl-2">'spot'</span><span class="hl-1">);</span><br/><span class="hl-3">dog</span><span class="hl-1">.</span><span class="hl-0">reset</span><span class="hl-1">(); </span><span class="hl-8">// dog.value is null</span><br/><br/><span class="hl-8">// If this flag is set, the control will instead reset to the initial value.</span><br/><span class="hl-5">const</span><span class="hl-1"> </span><span class="hl-7">cat</span><span class="hl-1"> = </span><span class="hl-5">new</span><span class="hl-1"> </span><span class="hl-0">FormControl</span><span class="hl-1">(</span><span class="hl-2">'tabby'</span><span class="hl-1">, {</span><span class="hl-3">nonNullable:</span><span class="hl-1"> </span><span class="hl-5">true</span><span class="hl-1">});</span><br/><span class="hl-3">cat</span><span class="hl-1">.</span><span class="hl-0">reset</span><span class="hl-1">(); </span><span class="hl-8">// cat.value is "tabby"</span><br/><br/><span class="hl-8">// A value passed to reset always takes precedence.</span><br/><span class="hl-5">const</span><span class="hl-1"> </span><span class="hl-7">fish</span><span class="hl-1"> = </span><span class="hl-5">new</span><span class="hl-1"> </span><span class="hl-0">FormControl</span><span class="hl-1">(</span><span class="hl-2">'finn'</span><span class="hl-1">, {</span><span class="hl-3">nonNullable:</span><span class="hl-1"> </span><span class="hl-5">true</span><span class="hl-1">});</span><br/><span class="hl-3">fish</span><span class="hl-1">.</span><span class="hl-0">reset</span><span class="hl-1">(</span><span class="hl-2">'bubble'</span><span class="hl-1">); </span><span class="hl-8">// fish.value is "bubble"</span>
|
|
@@ -393,15 +407,17 @@ false.</li>
|
|
|
393
407
|
<code>valueChanges</code>
|
|
394
408
|
observables emit events with the latest status and value when the control is reset.
|
|
395
409
|
When false, no events are emitted.</li>
|
|
410
|
+
<li><code>overwriteDefaultValue</code>: When true, the value used to reset the control becomes the new default value of the control.</li>
|
|
396
411
|
</ul>
|
|
397
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.reset</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
412
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.reset</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L242">packages/angular/forms/src/lib/form-control.ts:242</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="setasyncvalidators" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Async<wbr/>Validators</span><a href="#setasyncvalidators" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="setasyncvalidators-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setAsyncValidators</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">newValidator</span><span class="tsd-signature-symbol">:</span> <a href="../types/AsyncValidator.html" class="tsd-signature-type tsd-kind-type-alias">AsyncValidator</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">updateValueAndValidity</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setasyncvalidators-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the asynchronous validators that are active on this control. Calling this
|
|
398
413
|
overwrites any existing asynchronous validators.</p>
|
|
399
414
|
<p>When you add or remove a validator at run time, you must call
|
|
400
415
|
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
401
416
|
<p>If you want to add a new validator without affecting existing ones, consider
|
|
402
417
|
using <code>addAsyncValidators()</code> method instead.</p>
|
|
403
|
-
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">newValidator</span>: <a href="../types/AsyncValidator.html" class="tsd-signature-type tsd-kind-type-alias">AsyncValidator</a></span></li><li><span><span class="tsd-kind-parameter">updateValueAndValidity</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.setAsyncValidators</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
418
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">newValidator</span>: <a href="../types/AsyncValidator.html" class="tsd-signature-type tsd-kind-type-alias">AsyncValidator</a></span></li><li><span><span class="tsd-kind-parameter">updateValueAndValidity</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.setAsyncValidators</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L265">packages/angular/forms/src/lib/form-control.ts:265</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="setdisable" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Disable</span><a href="#setdisable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="setdisable-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setDisable</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">disable</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <a href="../types/ControlEventOptions.html" class="tsd-signature-type tsd-kind-type-alias">ControlEventOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setdisable-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">disable</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">opts</span>: <a href="../types/ControlEventOptions.html" class="tsd-signature-type tsd-kind-type-alias">ControlEventOptions</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L307">packages/angular/forms/src/lib/form-control.ts:307</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="setenable" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Enable</span><a href="#setenable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="setenable-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setEnable</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">enable</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <a href="../types/ControlEventOptions.html" class="tsd-signature-type tsd-kind-type-alias">ControlEventOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setenable-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">enable</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">opts</span>: <a href="../types/ControlEventOptions.html" class="tsd-signature-type tsd-kind-type-alias">ControlEventOptions</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L303">packages/angular/forms/src/lib/form-control.ts:303</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="seterror" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Error</span><a href="#seterror" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="seterror-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setError</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <a href="../types/EmitEvent.html" class="tsd-signature-type tsd-kind-type-alias">EmitEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#seterror-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">any</span></span></li><li><span><span class="tsd-kind-parameter">opts</span>: <a href="../types/EmitEvent.html" class="tsd-signature-type tsd-kind-type-alias">EmitEvent</a><span class="tsd-signature-symbol"> = {}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L291">packages/angular/forms/src/lib/form-control.ts:291</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="seterrors" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Errors</span><a href="#seterrors" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="seterrors-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setErrors</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">errors</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrole">E</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <a href="../types/EmitEvent.html" class="tsd-signature-type tsd-kind-type-alias">EmitEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#seterrors-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets errors on a form control when running validations manually, rather than automatically.</p>
|
|
404
419
|
<p>Calling <code>setErrors</code> also updates the validity of the parent control.</p>
|
|
420
|
+
<p>Note: Manually set errors are always overwritten by the results of the next validation run.</p>
|
|
405
421
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">errors</span>: <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrole">E</a><span class="tsd-signature-symbol">></span></span></li><li><span><span class="tsd-kind-parameter">opts</span>: <a href="../types/EmitEvent.html" class="tsd-signature-type tsd-kind-type-alias">EmitEvent</a><span class="tsd-signature-symbol"> = {}</span></span><div class="tsd-comment tsd-typography"><p>Configuration options that determine how the control propagates
|
|
406
422
|
changes and emits events after the control errors are set.</p>
|
|
407
423
|
<ul>
|
|
@@ -411,15 +427,15 @@ observable emits an event after the errors are set.</li>
|
|
|
411
427
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-usageNotes"><h4 class="tsd-anchor-link"><a id="usage-notes-4" class="tsd-anchor"></a>Usage Notes<a href="#usage-notes-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><a id="manually-set-the-errors-for-a-control" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Manually set the errors for a control<a href="#manually-set-the-errors-for-a-control" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><pre><code class="ts"><span class="hl-5">const</span><span class="hl-1"> </span><span class="hl-7">login</span><span class="hl-1"> = </span><span class="hl-5">new</span><span class="hl-1"> </span><span class="hl-0">FormControl</span><span class="hl-1">(</span><span class="hl-2">'someLogin'</span><span class="hl-1">);</span><br/><span class="hl-3">login</span><span class="hl-1">.</span><span class="hl-0">setErrors</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-3">notUnique:</span><span class="hl-1"> </span><span class="hl-5">true</span><br/><span class="hl-1">});</span><br/><br/><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-3">login</span><span class="hl-1">.</span><span class="hl-3">valid</span><span class="hl-1">).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-5">false</span><span class="hl-1">);</span><br/><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-3">login</span><span class="hl-1">.</span><span class="hl-3">errors</span><span class="hl-1">).</span><span class="hl-0">toEqual</span><span class="hl-1">({ </span><span class="hl-3">notUnique:</span><span class="hl-1"> </span><span class="hl-5">true</span><span class="hl-1"> });</span><br/><br/><span class="hl-3">login</span><span class="hl-1">.</span><span class="hl-0">setValue</span><span class="hl-1">(</span><span class="hl-2">'someOtherLogin'</span><span class="hl-1">);</span><br/><br/><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-3">login</span><span class="hl-1">.</span><span class="hl-3">valid</span><span class="hl-1">).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-5">true</span><span class="hl-1">);</span>
|
|
412
428
|
</code><button type="button">Copy</button></pre>
|
|
413
429
|
|
|
414
|
-
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.setErrors</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
430
|
+
</div></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.setErrors</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L287">packages/angular/forms/src/lib/form-control.ts:287</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setparent" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Parent</span><a href="#setparent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link"><a id="setparent-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setParent</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">parent</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">FormGroup</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">FormArray</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setparent-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the parent of the control</p>
|
|
415
431
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">parent</span>: <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">FormGroup</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">FormArray</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></span><div class="tsd-comment tsd-typography"><p>The new parent.</p>
|
|
416
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.setParent</p><ul><li>Defined in node_modules/@angular/forms/
|
|
432
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.setParent</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:3052</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="setvalidators" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Validators</span><a href="#setvalidators" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="setvalidators-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setValidators</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">newValidator</span><span class="tsd-signature-symbol">:</span> <a href="../types/Validator.html" class="tsd-signature-type tsd-kind-type-alias">Validator</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">updateValueAndValidity</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setvalidators-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the synchronous validators that are active on this control. Calling
|
|
417
433
|
this overwrites any existing synchronous validators.</p>
|
|
418
434
|
<p>When you add or remove a validator at run time, you must call
|
|
419
435
|
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
420
436
|
<p>If you want to add a new validator without affecting existing ones, consider
|
|
421
437
|
using <code>addValidators()</code> method instead.</p>
|
|
422
|
-
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">newValidator</span>: <a href="../types/Validator.html" class="tsd-signature-type tsd-kind-type-alias">Validator</a></span></li><li><span><span class="tsd-kind-parameter">updateValueAndValidity</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.setValidators</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
438
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">newValidator</span>: <a href="../types/Validator.html" class="tsd-signature-type tsd-kind-type-alias">Validator</a></span></li><li><span><span class="tsd-kind-parameter">updateValueAndValidity</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.setValidators</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L255">packages/angular/forms/src/lib/form-control.ts:255</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="setvalue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Value</span><a href="#setvalue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="setvalue-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setValue</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">valueOrObservable</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/ControlOptions.html" class="tsd-signature-type tsd-kind-interface">ControlOptions</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Subscription</span><a href="#setvalue-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets a new value for the form control.</p>
|
|
423
439
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">valueOrObservable</span>: <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">></span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <a href="../interfaces/ControlOptions.html" class="tsd-signature-type tsd-kind-interface">ControlOptions</a></span><div class="tsd-comment tsd-typography"><p>Configuration options that determine how the control propagates changes
|
|
424
440
|
and emits events when the value changes.
|
|
425
441
|
The configuration options are passed to the <a href="../interfaces/AbstractControl.html#updatevalueandvalidity" class="tsd-kind-method">updateValueAndValidity</a> method.</p>
|
|
@@ -437,7 +453,7 @@ update the view.</li>
|
|
|
437
453
|
<code>ngModelChange</code>
|
|
438
454
|
event to update the model.</li>
|
|
439
455
|
</ul>
|
|
440
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Subscription</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.setValue</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
456
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Subscription</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides UntypedFormControl.setValue</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L144">packages/angular/forms/src/lib/form-control.ts:144</a></li></ul></aside></div></li><li class=""><div class="tsd-signature tsd-anchor-link"><a id="setvalue-2" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setValue</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">valueOrObservable</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/ControlOptions.html" class="tsd-signature-type tsd-kind-interface">ControlOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setvalue-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">valueOrObservable</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="RxapFormControl.html#constructorrxapformcontrolt">T</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <a href="../interfaces/ControlOptions.html" class="tsd-signature-type tsd-kind-interface">ControlOptions</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Overrides UntypedFormControl.setValue</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L148">packages/angular/forms/src/lib/form-control.ts:148</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="updatevalueandvalidity" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>Value<wbr/>And<wbr/>Validity</span><a href="#updatevalueandvalidity" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link"><a id="updatevalueandvalidity-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">updateValueAndValidity</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">emitEvent</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">onlySelf</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#updatevalueandvalidity-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Recalculates the value and validation status of the control.</p>
|
|
441
457
|
<p>By default, it also updates the value and validity of its ancestors.</p>
|
|
442
458
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">emitEvent</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">onlySelf</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span></span><div class="tsd-comment tsd-typography"><p>Configuration options determine how the control propagates changes and emits events
|
|
443
459
|
after updates and validity checks are applied.</p>
|
|
@@ -449,4 +465,5 @@ update all direct ancestors. Default is false.</li>
|
|
|
449
465
|
observables emit events with the latest status and value when the control is updated.
|
|
450
466
|
When false, no events are emitted.</li>
|
|
451
467
|
</ul>
|
|
452
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.updateValueAndValidity</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:2644</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="validateon" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>validate<wbr/>On</span><a href="#validateon" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="validateon-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">validateOn</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">observableValidation</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Subscription</span><a href="#validateon-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">observableValidation</span>: <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">></span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Subscription</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/forms/src/lib/form-control.ts#L275">packages/angular/forms/src/lib/form-control.ts:275</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#_initialstate" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_initial<wbr/>State</span></a><a href="#controlid" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>control<wbr/>Id</span></a><a href="#defaultvalue" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>default<wbr/>Value</span></a><a href="#dirty" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>dirty$</span></a><a href="#disabled" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>disabled$</span></a><a href="#enabled" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enabled$</span></a><a href="#errors" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>errors</span></a><a href="#errors-1" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>errors$</span></a><a href="#events" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>events</span></a><a href="#readonly" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>readonly$</span></a><a href="#statechanges" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>state<wbr/>Changes</span></a><a href="#status" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>status</span></a><a href="#status-1" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>status$</span></a><a href="#statuschanges" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>status<wbr/>Changes</span></a><a href="#touch" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>touch$</span></a><a href="#value" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>value</span></a><a href="#value-1" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>value$</span></a><a href="#valuechanges" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>value<wbr/>Changes</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Accessors</summary><div><a href="#asyncvalidator" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>async<wbr/>Validator</span></a><a href="#controlpath" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>control<wbr/>Path</span></a><a href="#dirty-1" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>dirty</span></a><a href="#disabled-1" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>disabled</span></a><a href="#enabled-1" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enabled</span></a><a href="#fullcontrolpath" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>full<wbr/>Control<wbr/>Path</span></a><a href="#initialstate" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>initial<wbr/>State</span></a><a href="#invalid" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>invalid</span></a><a href="#parent-1" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>parent</span></a><a href="#pending" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>pending</span></a><a href="#pristine" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>pristine</span></a><a href="#readonly-1" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>readonly</span></a><a href="#root" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>root</span></a><a href="#rxapformdefinition" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>rxap<wbr/>Form<wbr/>Definition</span></a><a href="#touched" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>touched</span></a><a href="#untouched" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>untouched</span></a><a href="#updateon" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>update<wbr/>On</span></a><a href="#valid" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>valid</span></a><a href="#validator" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>validator</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#addasyncvalidators" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Async<wbr/>Validators</span></a><a href="#addvalidators" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Validators</span></a><a href="#clearasyncvalidators" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Async<wbr/>Validators</span></a><a href="#clearvalidators" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Validators</span></a><a href="#disable" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>disable</span></a><a href="#disabledwhile" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>disabled<wbr/>While</span></a><a href="#enable" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enable</span></a><a href="#enabledwhile" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enabled<wbr/>While</span></a><a href="#get" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get</span></a><a href="#geterror" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Error</span></a><a href="#getrawvalue" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Raw<wbr/>Value</span></a><a href="#hasasyncvalidator" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Async<wbr/>Validator</span></a><a href="#haserror" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Error</span></a><a href="#haserroranddirty" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Error<wbr/>And<wbr/>Dirty</span></a><a href="#haserrorandtouched" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Error<wbr/>And<wbr/>Touched</span></a><a href="#hasvalidator" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Validator</span></a><ul><li><ul><li><ul><li><a href="#reference-to-a-validatorfn"><span>Reference to a <wbr/>Validator<wbr/>Fn</span></a></li></ul></li></ul></li></ul><a href="#markallasdirty" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>All<wbr/>As<wbr/>Dirty</span></a><a href="#markallastouched" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>All<wbr/>As<wbr/>Touched</span></a><a href="#markasdirty" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>As<wbr/>Dirty</span></a><a href="#markaspending" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>As<wbr/>Pending</span></a><a href="#markaspristine" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>As<wbr/>Pristine</span></a><a href="#markastouched" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>As<wbr/>Touched</span></a><a href="#markasuntouched" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>As<wbr/>Untouched</span></a><a href="#mergeasyncvalidators" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>merge<wbr/>Async<wbr/>Validators</span></a><a href="#mergevalidators" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>merge<wbr/>Validators</span></a><a href="#patchvalue" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>patch<wbr/>Value</span></a><a href="#registeronchange" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>register<wbr/>On<wbr/>Change</span></a><a href="#registerondisabledchange" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>register<wbr/>On<wbr/>Disabled<wbr/>Change</span></a><a href="#registeronsetvalue" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>register<wbr/>On<wbr/>Set<wbr/>Value</span></a><a href="#removeasyncvalidators" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Async<wbr/>Validators</span></a><a href="#removevalidators" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Validators</span></a><ul><li><ul><li><ul><li><a href="#reference-to-a-validatorfn-1"><span>Reference to a <wbr/>Validator<wbr/>Fn</span></a></li></ul></li></ul></li></ul><a href="#reset" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset</span></a><a href="#setasyncvalidators" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Async<wbr/>Validators</span></a><a href="#setdisable" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Disable</span></a><a href="#setenable" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Enable</span></a><a href="#seterror" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Error</span></a><a href="#seterrors" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Errors</span></a><ul><li><ul><li><ul><li><a href="#manually-set-the-errors-for-a-control"><span>Manually set the errors for a control</span></a></li></ul></li></ul></li></ul><a href="#setparent" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Parent</span></a><a href="#setvalidators" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Validators</span></a><a href="#setvalue" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Value</span></a><a href="#updatevalueandvalidity" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Value<wbr/>And<wbr/>Validity</span></a><a href="#validateon" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>validate<wbr/>On</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@rxap/forms - v19.2.0-dev.1</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
468
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-18" class="tsd-anchor"></a>See<a href="#see-18" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="guide/forms/reactive-forms#understanding-event-emission">Understanding propagation control</a></p>
|
|
469
|
+
</div></div><aside class="tsd-sources"><p>Inherited from UntypedFormControl.updateValueAndValidity</p><ul><li>Defined in node_modules/@angular/forms/types/forms.d.ts:3087</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="validateon" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>validate<wbr/>On</span><a href="#validateon" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="validateon-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">validateOn</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">observableValidation</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Subscription</span><a href="#validateon-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">observableValidation</span>: <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">></span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Subscription</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/forms/src/lib/form-control.ts#L275">packages/angular/forms/src/lib/form-control.ts:275</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#_initialstate" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_initial<wbr/>State</span></a><a href="#controlid" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>control<wbr/>Id</span></a><a href="#defaultvalue" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>default<wbr/>Value</span></a><a href="#dirty" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>dirty$</span></a><a href="#disabled" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>disabled$</span></a><a href="#enabled" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enabled$</span></a><a href="#errors" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>errors</span></a><a href="#errors-1" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>errors$</span></a><a href="#events" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>events</span></a><a href="#readonly" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>readonly$</span></a><a href="#statechanges" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>state<wbr/>Changes</span></a><a href="#status" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>status</span></a><a href="#status-1" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>status$</span></a><a href="#statuschanges" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>status<wbr/>Changes</span></a><a href="#touch" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>touch$</span></a><a href="#value" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>value</span></a><a href="#value-1" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>value$</span></a><a href="#valuechanges" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>value<wbr/>Changes</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Accessors</summary><div><a href="#asyncvalidator" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>async<wbr/>Validator</span></a><a href="#controlpath" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>control<wbr/>Path</span></a><a href="#dirty-1" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>dirty</span></a><a href="#disabled-1" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>disabled</span></a><a href="#enabled-1" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enabled</span></a><a href="#fullcontrolpath" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>full<wbr/>Control<wbr/>Path</span></a><a href="#initialstate" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>initial<wbr/>State</span></a><a href="#invalid" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>invalid</span></a><a href="#parent-1" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>parent</span></a><a href="#pending" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>pending</span></a><a href="#pristine" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>pristine</span></a><a href="#readonly-1" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>readonly</span></a><a href="#root" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>root</span></a><a href="#rxapformdefinition" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>rxap<wbr/>Form<wbr/>Definition</span></a><a href="#touched" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>touched</span></a><a href="#untouched" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>untouched</span></a><a href="#updateon" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>update<wbr/>On</span></a><a href="#valid" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>valid</span></a><a href="#validator" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>validator</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#addasyncvalidators" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Async<wbr/>Validators</span></a><a href="#addvalidators" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Validators</span></a><a href="#clearasyncvalidators" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Async<wbr/>Validators</span></a><a href="#clearvalidators" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Validators</span></a><a href="#disable" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>disable</span></a><a href="#disabledwhile" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>disabled<wbr/>While</span></a><a href="#enable" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enable</span></a><a href="#enabledwhile" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enabled<wbr/>While</span></a><a href="#get" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get</span></a><a href="#geterror" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Error</span></a><a href="#getrawvalue" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Raw<wbr/>Value</span></a><a href="#hasasyncvalidator" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Async<wbr/>Validator</span></a><a href="#haserror" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Error</span></a><a href="#haserroranddirty" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Error<wbr/>And<wbr/>Dirty</span></a><a href="#haserrorandtouched" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Error<wbr/>And<wbr/>Touched</span></a><a href="#hasvalidator" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Validator</span></a><a href="#markallasdirty" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>All<wbr/>As<wbr/>Dirty</span></a><a href="#markallastouched" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>All<wbr/>As<wbr/>Touched</span></a><a href="#markasdirty" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>As<wbr/>Dirty</span></a><a href="#markaspending" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>As<wbr/>Pending</span></a><a href="#markaspristine" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>As<wbr/>Pristine</span></a><a href="#markastouched" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>As<wbr/>Touched</span></a><a href="#markasuntouched" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>As<wbr/>Untouched</span></a><a href="#mergeasyncvalidators" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>merge<wbr/>Async<wbr/>Validators</span></a><a href="#mergevalidators" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>merge<wbr/>Validators</span></a><a href="#patchvalue" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>patch<wbr/>Value</span></a><a href="#registeronchange" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>register<wbr/>On<wbr/>Change</span></a><a href="#registerondisabledchange" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>register<wbr/>On<wbr/>Disabled<wbr/>Change</span></a><a href="#registeronsetvalue" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>register<wbr/>On<wbr/>Set<wbr/>Value</span></a><a href="#removeasyncvalidators" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Async<wbr/>Validators</span></a><a href="#removevalidators" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Validators</span></a><a href="#reset" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset</span></a><a href="#setasyncvalidators" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Async<wbr/>Validators</span></a><a href="#setdisable" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Disable</span></a><a href="#setenable" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Enable</span></a><a href="#seterror" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Error</span></a><a href="#seterrors" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Errors</span></a><ul><li><ul><li><ul><li><a href="#manually-set-the-errors-for-a-control"><span>Manually set the errors for a control</span></a></li></ul></li></ul></li></ul><a href="#setparent" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Parent</span></a><a href="#setvalidators" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Validators</span></a><a href="#setvalue" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Value</span></a><a href="#updatevalueandvalidity" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Value<wbr/>And<wbr/>Validity</span></a><a href="#validateon" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>validate<wbr/>On</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@rxap/forms - v21.0.1-dev.0</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|