@rxap/forms 18.3.1-dev.0 → 19.0.0-dev.2
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 +8 -0
- package/README.md +1 -1
- package/compodoc/changelog.html +44 -0
- package/compodoc/classes/RxapFormArray.html +77 -76
- package/compodoc/classes/RxapFormControl.html +75 -74
- package/compodoc/classes/RxapFormGroup.html +135 -134
- package/compodoc/dependencies.html +13 -13
- package/compodoc/directives/FormControlErrorDirective.html +4 -5
- package/compodoc/directives/FormDirective.html +273 -76
- package/compodoc/directives/FormLoadedDirective.html +1 -1
- package/compodoc/directives/FormLoadingDirective.html +1 -1
- package/compodoc/directives/FormLoadingErrorDirective.html +1 -1
- package/compodoc/directives/FormResetDirective.html +450 -0
- package/compodoc/directives/FormSubmitDirective.html +5 -5
- package/compodoc/directives/FormSubmitFailedDirective.html +1 -1
- package/compodoc/directives/FormSubmitInvalidDirective.html +1 -1
- package/compodoc/directives/FormSubmitSuccessfulDirective.html +1 -1
- package/compodoc/directives/FormSubmittingDirective.html +1 -1
- package/compodoc/index.html +1 -1
- package/compodoc/interfaces/ControlSetValueOptions.html +2 -2
- package/compodoc/interfaces/FormLoadFailedMethod.html +11 -8
- package/compodoc/interfaces/FormLoadMethod.html +10 -7
- package/compodoc/interfaces/FormLoadSuccessfulMethod.html +10 -7
- package/compodoc/interfaces/FormSubmitFailedMethod.html +11 -8
- package/compodoc/interfaces/FormSubmitMethod.html +24 -9
- package/compodoc/interfaces/FormSubmitSuccessfulMethod.html +10 -7
- package/compodoc/js/menu-wc.js +6 -3
- package/compodoc/js/menu-wc_es5.js +2 -2
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/functions.html +178 -0
- package/compodoc/modules/RxapFormsModule.html +11 -11
- package/compodoc/overview.html +1 -1
- package/compodoc/properties.html +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/ControlValueAccessor.html +2 -2
- package/docs/classes/FormArrayControlManager.html +2 -2
- package/docs/classes/FormControlErrorDirective.html +2 -2
- package/docs/classes/FormControlMarkDirtyDirective.html +2 -2
- package/docs/classes/FormControlMarkPristineDirective.html +2 -2
- package/docs/classes/FormControlMarkTouchedDirective.html +2 -2
- package/docs/classes/FormControlMarkUntouchedDirective.html +2 -2
- package/docs/classes/FormControlNameDirective.html +28 -28
- package/docs/classes/FormDirective.html +47 -47
- package/docs/classes/FormGroupNameDirective.html +23 -23
- package/docs/classes/FormLoadedDirective.html +2 -2
- package/docs/classes/FormLoadingDirective.html +2 -2
- package/docs/classes/FormLoadingErrorDirective.html +2 -2
- package/docs/classes/FormResetDirective.html +8 -0
- package/docs/classes/FormSubmitDirective.html +2 -2
- package/docs/classes/FormSubmitFailedDirective.html +2 -2
- package/docs/classes/FormSubmitInvalidDirective.html +2 -2
- package/docs/classes/FormSubmitSuccessfulDirective.html +2 -2
- package/docs/classes/FormSubmittingDirective.html +2 -2
- package/docs/classes/ParentControlContainerDirective.html +1 -1
- package/docs/classes/RxapFormArray.html +67 -71
- package/docs/classes/RxapFormBuilder.html +8 -8
- package/docs/classes/RxapFormControl.html +50 -50
- package/docs/classes/RxapFormGroup.html +46 -46
- package/docs/classes/RxapFormsModule.html +1 -1
- package/docs/documentation.json +10310 -9109
- package/docs/enums/MetadataKeys.html +2 -2
- package/docs/functions/ControlAsyncValidator.html +1 -1
- package/docs/functions/ControlChange.html +1 -1
- package/docs/functions/ControlSetValue.html +1 -1
- package/docs/functions/ControlValidator.html +1 -1
- package/docs/functions/IsArray.html +1 -1
- package/docs/functions/IsBoolean.html +1 -1
- package/docs/functions/IsComplex.html +1 -1
- package/docs/functions/IsDate.html +1 -1
- package/docs/functions/IsEmail.html +1 -1
- package/docs/functions/IsEnum.html +1 -1
- package/docs/functions/IsIP.html +1 -1
- package/docs/functions/IsInt.html +1 -1
- package/docs/functions/IsNumber.html +1 -1
- package/docs/functions/IsObject.html +1 -1
- package/docs/functions/IsPhoneNumber.html +1 -1
- package/docs/functions/IsPort.html +1 -1
- package/docs/functions/IsString.html +1 -1
- package/docs/functions/IsUUID.html +1 -1
- package/docs/functions/IsUrl.html +1 -1
- package/docs/functions/RxapForm.html +1 -1
- package/docs/functions/ToFormMethod.html +1 -1
- package/docs/functions/ToFormSubmitMethod.html +1 -1
- package/docs/functions/ToMethodWithInjectionContext.html +1 -1
- package/docs/functions/ToMethodWithInjectionContextFactory.html +1 -1
- package/docs/functions/UseFormArrayControl.html +1 -1
- package/docs/functions/UseFormArrayGroup.html +1 -1
- package/docs/functions/UseFormControl.html +1 -1
- package/docs/functions/UseFormGroup.html +1 -1
- package/docs/functions/_IsNumber.html +1 -1
- package/docs/functions/controlDisabledWhile.html +1 -1
- package/docs/functions/controlDisabled_.html +1 -1
- package/docs/functions/controlEnabledWhile.html +1 -1
- package/docs/functions/controlEnabled_.html +1 -1
- package/docs/functions/controlErrorChanges_.html +1 -1
- package/docs/functions/controlReadonly_.html +1 -1
- package/docs/functions/controlStatusChanges_.html +1 -1
- package/docs/functions/controlValueChanges_.html +1 -1
- package/docs/functions/disableControl.html +1 -1
- package/docs/functions/enableControl.html +1 -1
- package/docs/functions/hasErrorAndDirty.html +1 -1
- package/docs/functions/hasErrorAndTouched.html +1 -1
- package/docs/functions/isNumber-1.html +1 -1
- package/docs/functions/markAllDirty.html +1 -1
- package/docs/functions/markAllPristine.html +1 -1
- package/docs/functions/markAllUntouched.html +1 -1
- package/docs/functions/mergeControlValidators.html +1 -1
- package/docs/functions/selectControlValue_.html +1 -1
- package/docs/functions/validateControlOn.html +1 -1
- package/docs/index.html +1 -1
- package/docs/interfaces/AbstractControl.html +67 -67
- package/docs/interfaces/AbstractControlOptions.html +3 -3
- package/docs/interfaces/BoxedValue.html +2 -2
- package/docs/interfaces/ComplexityOptions.html +2 -2
- package/docs/interfaces/ControlOptions.html +3 -3
- package/docs/interfaces/ControlSetValueOptions.html +2 -2
- package/docs/interfaces/FormArrayOptions.html +4 -4
- package/docs/interfaces/FormDefinition.html +6 -6
- package/docs/interfaces/FormDefinitionArray.html +11 -15
- package/docs/interfaces/FormDefinitionMetadata.html +5 -5
- package/docs/interfaces/FormGroupOptions.html +4 -4
- package/docs/interfaces/FormLoadFailedMethod.html +2 -2
- package/docs/interfaces/FormLoadMethod.html +2 -2
- package/docs/interfaces/FormLoadSuccessfulMethod.html +2 -2
- package/docs/interfaces/FormOptions.html +4 -4
- package/docs/interfaces/FormSubmitFailedMethod.html +2 -2
- package/docs/interfaces/FormSubmitMethod.html +2 -2
- package/docs/interfaces/FormSubmitSuccessfulMethod.html +2 -2
- package/docs/interfaces/InjectableValidator.html +2 -2
- package/docs/interfaces/IsNumberOptions.html +2 -2
- package/docs/interfaces/NgValidatorsErrors.html +2 -2
- package/docs/interfaces/RxapAbstractControlOptionsWithDefinition.html +4 -4
- package/docs/interfaces/_RxapAbstractControlOptions.html +4 -4
- package/docs/modules.html +1 -0
- package/docs/types/AsyncValidator.html +1 -1
- package/docs/types/AsyncValidatorFn.html +1 -1
- package/docs/types/ChangeFn.html +1 -1
- package/docs/types/ControlEventOptions.html +1 -1
- package/docs/types/ControlInsertedFn.html +1 -1
- package/docs/types/ControlPath.html +1 -1
- package/docs/types/ControlRemovedFn.html +1 -1
- package/docs/types/ControlState.html +1 -1
- package/docs/types/EmitEvent.html +1 -1
- package/docs/types/ExtractAbstractControl.html +1 -1
- package/docs/types/ExtractStrings.html +1 -1
- package/docs/types/FormBuilderFn.html +1 -1
- package/docs/types/FormType.html +1 -1
- package/docs/types/KeyValueControls.html +1 -1
- package/docs/types/OnlySelf.html +1 -1
- package/docs/types/OrBoxedValue.html +1 -1
- package/docs/types/RxapAbstractControlOptions.html +1 -1
- package/docs/types/SetValueFn.html +1 -1
- package/docs/types/ValidationErrors.html +1 -1
- package/docs/types/Validator.html +1 -1
- package/docs/types/ValidatorFn.html +1 -1
- package/docs/types/ValidatorOrOpts.html +1 -1
- package/docs/variables/RXAP_FORM_CONTEXT.html +1 -1
- package/docs/variables/RXAP_FORM_DEFINITION.html +1 -1
- package/docs/variables/RXAP_FORM_DEFINITION_BUILDER.html +1 -1
- package/docs/variables/RXAP_FORM_INITIAL_STATE.html +1 -1
- package/docs/variables/RXAP_FORM_LOAD_FAILED_METHOD.html +1 -1
- package/docs/variables/RXAP_FORM_LOAD_METHOD.html +1 -1
- package/docs/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.html +1 -1
- package/docs/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.html +1 -1
- package/docs/variables/RXAP_FORM_SUBMIT_METHOD.html +1 -1
- package/docs/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.html +1 -1
- package/docs/variables/RxapValidators.html +1 -1
- package/fesm2022/rxap-forms.mjs +58 -61
- package/fesm2022/rxap-forms.mjs.map +1 -1
- package/package.json +27 -30
- package/theme.css +95 -1
- package/esm2022/index.mjs +0 -65
- package/esm2022/lib/control-actions.mjs +0 -77
- package/esm2022/lib/control-value-accessor.mjs +0 -20
- package/esm2022/lib/decorators/control-async-validator.mjs +0 -10
- package/esm2022/lib/decorators/control-change.mjs +0 -10
- package/esm2022/lib/decorators/control-set-value.mjs +0 -11
- package/esm2022/lib/decorators/control-validator.mjs +0 -10
- package/esm2022/lib/decorators/form.mjs +0 -7
- package/esm2022/lib/decorators/metadata-keys.mjs +0 -12
- package/esm2022/lib/decorators/use-form-array.mjs +0 -16
- package/esm2022/lib/decorators/use-form-control.mjs +0 -8
- package/esm2022/lib/decorators/use-form-group.mjs +0 -11
- package/esm2022/lib/directives/form-control-error.directive.mjs +0 -56
- package/esm2022/lib/directives/form-control-mark-dirty.directive.mjs +0 -32
- package/esm2022/lib/directives/form-control-mark-pristine.directive.mjs +0 -32
- package/esm2022/lib/directives/form-control-mark-touched.directive.mjs +0 -25
- package/esm2022/lib/directives/form-control-mark-untouched.directive.mjs +0 -32
- package/esm2022/lib/directives/form-control-name.directive.mjs +0 -65
- package/esm2022/lib/directives/form-group-name.directive.mjs +0 -62
- package/esm2022/lib/directives/form-loaded.directive.mjs +0 -42
- package/esm2022/lib/directives/form-loading-error.directive.mjs +0 -42
- package/esm2022/lib/directives/form-loading.directive.mjs +0 -42
- package/esm2022/lib/directives/form-reset.directive.mjs +0 -38
- package/esm2022/lib/directives/form-submit-failed.directive.mjs +0 -42
- package/esm2022/lib/directives/form-submit-invalid.directive.mjs +0 -40
- package/esm2022/lib/directives/form-submit-successful.directive.mjs +0 -40
- package/esm2022/lib/directives/form-submit.directive.mjs +0 -79
- package/esm2022/lib/directives/form-submitting.directive.mjs +0 -42
- package/esm2022/lib/directives/form.directive.mjs +0 -566
- package/esm2022/lib/directives/forms.module.mjs +0 -100
- package/esm2022/lib/directives/models.mjs +0 -12
- package/esm2022/lib/directives/parent-control-container.directive.mjs +0 -27
- package/esm2022/lib/directives/tokens.mjs +0 -10
- package/esm2022/lib/form-array.mjs +0 -257
- package/esm2022/lib/form-builder.mjs +0 -381
- package/esm2022/lib/form-control.mjs +0 -175
- package/esm2022/lib/form-group.mjs +0 -205
- package/esm2022/lib/model.mjs +0 -2
- package/esm2022/lib/tokens.mjs +0 -4
- package/esm2022/lib/types.mjs +0 -2
- package/esm2022/lib/utilities.mjs +0 -36
- package/esm2022/lib/validators/index.mjs +0 -33
- package/esm2022/lib/validators/is-array.mjs +0 -18
- package/esm2022/lib/validators/is-boolean.mjs +0 -18
- package/esm2022/lib/validators/is-complex.mjs +0 -85
- package/esm2022/lib/validators/is-date.mjs +0 -18
- package/esm2022/lib/validators/is-email.mjs +0 -19
- package/esm2022/lib/validators/is-enum.mjs +0 -18
- package/esm2022/lib/validators/is-int.mjs +0 -19
- package/esm2022/lib/validators/is-ip.mjs +0 -19
- package/esm2022/lib/validators/is-number.mjs +0 -61
- package/esm2022/lib/validators/is-object.mjs +0 -21
- package/esm2022/lib/validators/is-phone-number.mjs +0 -19
- package/esm2022/lib/validators/is-port.mjs +0 -19
- package/esm2022/lib/validators/is-string.mjs +0 -18
- package/esm2022/lib/validators/is-url.mjs +0 -19
- package/esm2022/lib/validators/is-uuid.mjs +0 -19
- package/esm2022/rxap-forms.mjs +0 -5
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>AbstractControl | @rxap/forms</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></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" data-base=".."><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"><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</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"><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="AbstractControl.html">AbstractControl</a></li></ul><h1>Interface AbstractControl<T></h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">interface </span><span class="tsd-kind-interface">AbstractControl</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="AbstractControl.html#T">T</a><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#controlId">controlId</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#errors">errors</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">ValidationErrors</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#events">events</a><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><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#fullControlPath">fullControlPath</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#pristine">pristine</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#readonly">readonly</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#rxapFormDefinition">rxapFormDefinition</a><span class="tsd-signature-symbol">?: </span><a href="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-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#stateChanges">stateChanges</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Subject</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> </span><a class="tsd-kind-property" href="AbstractControl.html#status">status</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">FormControlStatus</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#statusChanges">statusChanges</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">FormControlStatus</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#touched">touched</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#value">value</a><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="AbstractControl.html#T">T</a><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#valueChanges">valueChanges</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Observable</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> </span><a class="tsd-kind-accessor" href="AbstractControl.html#asyncValidator">asyncValidator</a><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><br/><span> </span><span class="tsd-signature-keyword">get </span><a class="tsd-kind-get-signature" href="AbstractControl.html#dirty.dirty-1">dirty</a><span class="tsd-signature-symbol">(): </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-keyword">get </span><a class="tsd-kind-get-signature" href="AbstractControl.html#disabled.disabled-1">disabled</a><span class="tsd-signature-symbol">(): </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-keyword">get </span><a class="tsd-kind-get-signature" href="AbstractControl.html#enabled.enabled-1">enabled</a><span class="tsd-signature-symbol">(): </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-keyword">get </span><a class="tsd-kind-get-signature" href="AbstractControl.html#invalid.invalid-1">invalid</a><span class="tsd-signature-symbol">(): </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-keyword">get </span><a class="tsd-kind-get-signature" href="AbstractControl.html#parent.parent-1">parent</a><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><br/><span> </span><span class="tsd-signature-keyword">get </span><a class="tsd-kind-get-signature" href="AbstractControl.html#pending.pending-1">pending</a><span class="tsd-signature-symbol">(): </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-keyword">get </span><a class="tsd-kind-get-signature" href="AbstractControl.html#root.root-1">root</a><span class="tsd-signature-symbol">(): </span><span class="tsd-signature-type">AbstractControl</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> </span><span class="tsd-signature-keyword">get </span><a class="tsd-kind-get-signature" href="AbstractControl.html#untouched.untouched-1">untouched</a><span class="tsd-signature-symbol">(): </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-keyword">get </span><a class="tsd-kind-get-signature" href="AbstractControl.html#updateOn.updateOn-1">updateOn</a><span class="tsd-signature-symbol">(): </span><span class="tsd-signature-type">FormHooks</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-keyword">get </span><a class="tsd-kind-get-signature" href="AbstractControl.html#valid.valid-1">valid</a><span class="tsd-signature-symbol">(): </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-accessor" href="AbstractControl.html#validator">validator</a><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><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#addAsyncValidators.addAsyncValidators-1">addAsyncValidators</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</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><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#addValidators.addValidators-1">addValidators</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</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><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#clearAsyncValidators.clearAsyncValidators-1">clearAsyncValidators</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><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#clearValidators.clearValidators-1">clearValidators</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><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#disable.disable-1">disable</a><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-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#enable.enable-1">enable</a><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-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#get.get-1">get</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="AbstractControl.html#get.get-1.P">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">path</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">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="../classes/RxapFormArray.html#get.get-1.P">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="../classes/RxapFormArray.html#get.get-1.P">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#get.get-2">get</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="AbstractControl.html#get.get-2.P-1">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">path</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">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="../classes/RxapFormArray.html#get.get-2.P-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="../classes/RxapFormArray.html#get.get-2.P-1">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#getError.getError-1">getError</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">errorCode</span>, <span class="tsd-kind-parameter">path</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><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#getRawValue.getRawValue-1">getRawValue</a><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><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#hasAsyncValidator.hasAsyncValidator-1">hasAsyncValidator</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validator</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#hasError.hasError-1">hasError</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">errorCode</span>, <span class="tsd-kind-parameter">path</span><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><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#hasValidator.hasValidator-1">hasValidator</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validator</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#markAllAsTouched.markAllAsTouched-1">markAllAsTouched</a><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-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#markAsDirty.markAsDirty-1">markAsDirty</a><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-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#markAsPending.markAsPending-1">markAsPending</a><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-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#markAsPristine.markAsPristine-1">markAsPristine</a><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-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#markAsTouched.markAsTouched-1">markAsTouched</a><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-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#markAsUntouched.markAsUntouched-1">markAsUntouched</a><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-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#patchValue.patchValue-1">patchValue</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">options</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><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#removeAsyncValidators.removeAsyncValidators-1">removeAsyncValidators</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</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><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#removeValidators.removeValidators-1">removeValidators</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</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><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#reset.reset-1">reset</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">options</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><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#setAsyncValidators.setAsyncValidators-1">setAsyncValidators</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</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><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#setErrors.setErrors-1">setErrors</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">errors</span>, <span class="tsd-kind-parameter">opts</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><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#setParent.setParent-1">setParent</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">parent</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><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#setValidators.setValidators-1">setValidators</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</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><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#setValue.setValue-1">setValue</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">options</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><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#updateValueAndValidity.updateValueAndValidity-1">updateValueAndValidity</a><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-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></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></ul></section> <section class="tsd-panel tsd-hierarchy"><h4>Hierarchy</h4><ul class="tsd-hierarchy"><li><span class="tsd-signature-type">AbstractControl</span><ul class="tsd-hierarchy"><li><span class="target">AbstractControl</span></li></ul></li></ul></section><section class="tsd-panel"><h4>Implemented by</h4><ul class="tsd-hierarchy"><li><a href="../classes/RxapFormArray.html" class="tsd-signature-type tsd-kind-class">RxapFormArray</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/forms/src/lib/types.ts#L70">packages/angular/forms/src/lib/types.ts:70</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-index-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"><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">Properties</h3><div class="tsd-index-list"><a href="AbstractControl.html#controlId" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>control<wbr/>Id?</span></a>
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>AbstractControl | @rxap/forms</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></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" data-base=".."><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"><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</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"><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="AbstractControl.html">AbstractControl</a></li></ul><h1>Interface AbstractControl<T></h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">interface </span><span class="tsd-kind-interface">AbstractControl</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="AbstractControl.html#T">T</a><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#controlId">controlId</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#errors">errors</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">ValidationErrors</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#events">events</a><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><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#fullControlPath">fullControlPath</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#readonly">readonly</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#rxapFormDefinition">rxapFormDefinition</a><span class="tsd-signature-symbol">?: </span><a href="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-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#stateChanges">stateChanges</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Subject</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> </span><a class="tsd-kind-property" href="AbstractControl.html#statusChanges">statusChanges</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">FormControlStatus</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#value">value</a><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="AbstractControl.html#T">T</a><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="AbstractControl.html#valueChanges">valueChanges</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Observable</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> </span><a class="tsd-kind-accessor" href="AbstractControl.html#asyncValidator">asyncValidator</a><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><br/><span> </span><span class="tsd-signature-keyword">get </span><a class="tsd-kind-get-signature" href="AbstractControl.html#dirty.dirty-1">dirty</a><span class="tsd-signature-symbol">(): </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-keyword">get </span><a class="tsd-kind-get-signature" href="AbstractControl.html#disabled.disabled-1">disabled</a><span class="tsd-signature-symbol">(): </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-keyword">get </span><a class="tsd-kind-get-signature" href="AbstractControl.html#enabled.enabled-1">enabled</a><span class="tsd-signature-symbol">(): </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-keyword">get </span><a class="tsd-kind-get-signature" href="AbstractControl.html#invalid.invalid-1">invalid</a><span class="tsd-signature-symbol">(): </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-keyword">get </span><a class="tsd-kind-get-signature" href="AbstractControl.html#parent.parent-1">parent</a><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><br/><span> </span><span class="tsd-signature-keyword">get </span><a class="tsd-kind-get-signature" href="AbstractControl.html#pending.pending-1">pending</a><span class="tsd-signature-symbol">(): </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-accessor" href="AbstractControl.html#pristine">pristine</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-keyword">get </span><a class="tsd-kind-get-signature" href="AbstractControl.html#root.root-1">root</a><span class="tsd-signature-symbol">(): </span><span class="tsd-signature-type">AbstractControl</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> </span><a class="tsd-kind-accessor" href="AbstractControl.html#status">status</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">FormControlStatus</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-accessor" href="AbstractControl.html#touched">touched</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-keyword">get </span><a class="tsd-kind-get-signature" href="AbstractControl.html#untouched.untouched-1">untouched</a><span class="tsd-signature-symbol">(): </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-keyword">get </span><a class="tsd-kind-get-signature" href="AbstractControl.html#updateOn.updateOn-1">updateOn</a><span class="tsd-signature-symbol">(): </span><span class="tsd-signature-type">FormHooks</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-keyword">get </span><a class="tsd-kind-get-signature" href="AbstractControl.html#valid.valid-1">valid</a><span class="tsd-signature-symbol">(): </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-accessor" href="AbstractControl.html#validator">validator</a><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><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#addAsyncValidators.addAsyncValidators-1">addAsyncValidators</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</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><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#addValidators.addValidators-1">addValidators</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</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><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#clearAsyncValidators.clearAsyncValidators-1">clearAsyncValidators</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><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#clearValidators.clearValidators-1">clearValidators</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><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#disable.disable-1">disable</a><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-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#enable.enable-1">enable</a><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-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#get.get-1">get</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="AbstractControl.html#get.get-1.P">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">path</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">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="../classes/RxapFormArray.html#get.get-1.P">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="../classes/RxapFormArray.html#get.get-1.P">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#get.get-2">get</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="AbstractControl.html#get.get-2.P-1">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">path</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">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="../classes/RxapFormArray.html#get.get-2.P-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="../classes/RxapFormArray.html#get.get-2.P-1">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#getError.getError-1">getError</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">errorCode</span>, <span class="tsd-kind-parameter">path</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><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#getRawValue.getRawValue-1">getRawValue</a><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><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#hasAsyncValidator.hasAsyncValidator-1">hasAsyncValidator</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validator</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#hasError.hasError-1">hasError</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">errorCode</span>, <span class="tsd-kind-parameter">path</span><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><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#hasValidator.hasValidator-1">hasValidator</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validator</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#markAllAsTouched.markAllAsTouched-1">markAllAsTouched</a><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-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#markAsDirty.markAsDirty-1">markAsDirty</a><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-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#markAsPending.markAsPending-1">markAsPending</a><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-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#markAsPristine.markAsPristine-1">markAsPristine</a><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-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#markAsTouched.markAsTouched-1">markAsTouched</a><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-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#markAsUntouched.markAsUntouched-1">markAsUntouched</a><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-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#patchValue.patchValue-1">patchValue</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">options</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><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#removeAsyncValidators.removeAsyncValidators-1">removeAsyncValidators</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</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><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#removeValidators.removeValidators-1">removeValidators</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</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><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#reset.reset-1">reset</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">options</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><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#setAsyncValidators.setAsyncValidators-1">setAsyncValidators</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</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><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#setErrors.setErrors-1">setErrors</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">errors</span>, <span class="tsd-kind-parameter">opts</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><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#setParent.setParent-1">setParent</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">parent</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><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#setValidators.setValidators-1">setValidators</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</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><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#setValue.setValue-1">setValue</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">options</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><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="AbstractControl.html#updateValueAndValidity.updateValueAndValidity-1">updateValueAndValidity</a><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-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></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></ul></section> <section class="tsd-panel tsd-hierarchy"><h4>Hierarchy</h4><ul class="tsd-hierarchy"><li><span class="tsd-signature-type">AbstractControl</span><ul class="tsd-hierarchy"><li><span class="target">AbstractControl</span></li></ul></li></ul></section><section class="tsd-panel"><h4>Implemented by</h4><ul class="tsd-hierarchy"><li><a href="../classes/RxapFormArray.html" class="tsd-signature-type tsd-kind-class">RxapFormArray</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/253084bd23ad946dca139ac3fa4b171003a4106b/packages/angular/forms/src/lib/types.ts#L70">packages/angular/forms/src/lib/types.ts:70</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-index-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"><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">Properties</h3><div class="tsd-index-list"><a href="AbstractControl.html#controlId" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>control<wbr/>Id?</span></a>
|
|
2
2
|
<a href="AbstractControl.html#errors" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>errors</span></a>
|
|
3
3
|
<a href="AbstractControl.html#events" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>events</span></a>
|
|
4
4
|
<a href="AbstractControl.html#fullControlPath" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>full<wbr/>Control<wbr/>Path?</span></a>
|
|
5
|
-
<a href="AbstractControl.html#pristine" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pristine</span></a>
|
|
6
5
|
<a href="AbstractControl.html#readonly" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>readonly?</span></a>
|
|
7
6
|
<a href="AbstractControl.html#rxapFormDefinition" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>rxap<wbr/>Form<wbr/>Definition?</span></a>
|
|
8
7
|
<a href="AbstractControl.html#stateChanges" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>state<wbr/>Changes?</span></a>
|
|
9
|
-
<a href="AbstractControl.html#status" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>status</span></a>
|
|
10
8
|
<a href="AbstractControl.html#statusChanges" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>status<wbr/>Changes</span></a>
|
|
11
|
-
<a href="AbstractControl.html#touched" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>touched</span></a>
|
|
12
9
|
<a href="AbstractControl.html#value" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>value</span></a>
|
|
13
10
|
<a href="AbstractControl.html#valueChanges" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>value<wbr/>Changes</span></a>
|
|
14
11
|
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Accessors</h3><div class="tsd-index-list"><a href="AbstractControl.html#asyncValidator" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>async<wbr/>Validator</span></a>
|
|
@@ -18,7 +15,10 @@
|
|
|
18
15
|
<a href="AbstractControl.html#invalid" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>invalid</span></a>
|
|
19
16
|
<a href="AbstractControl.html#parent" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>parent</span></a>
|
|
20
17
|
<a href="AbstractControl.html#pending" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>pending</span></a>
|
|
18
|
+
<a href="AbstractControl.html#pristine" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>pristine</span></a>
|
|
21
19
|
<a href="AbstractControl.html#root" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>root</span></a>
|
|
20
|
+
<a href="AbstractControl.html#status" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>status</span></a>
|
|
21
|
+
<a href="AbstractControl.html#touched" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>touched</span></a>
|
|
22
22
|
<a href="AbstractControl.html#untouched" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>untouched</span></a>
|
|
23
23
|
<a href="AbstractControl.html#updateOn" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>update<wbr/>On</span></a>
|
|
24
24
|
<a href="AbstractControl.html#valid" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>valid</span></a>
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
<a href="AbstractControl.html#setValidators" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Validators</span></a>
|
|
52
52
|
<a href="AbstractControl.html#setValue" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Value</span></a>
|
|
53
53
|
<a href="AbstractControl.html#updateValueAndValidity" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Value<wbr/>And<wbr/>Validity</span></a>
|
|
54
|
-
</div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member"><a id="controlId" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>control<wbr/>Id</span><a href="#controlId" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">control<wbr/>Id</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/
|
|
54
|
+
</div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member"><a id="controlId" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>control<wbr/>Id</span><a href="#controlId" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">control<wbr/>Id</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/253084bd23ad946dca139ac3fa4b171003a4106b/packages/angular/forms/src/lib/types.ts#L72">packages/angular/forms/src/lib/types.ts:72</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="errors" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>errors</span><a href="#errors" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><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><span class="tsd-signature-type">ValidationErrors</span></div><div class="tsd-comment tsd-typography"><p>An object containing any errors generated by failing validation,
|
|
55
55
|
or null if there are no errors.</p>
|
|
56
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.errors</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
56
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.errors</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:149</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 ts-flagReadonly">Readonly</code> <span>events</span><a href="#events" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><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.
|
|
57
57
|
It emits for value, status, pristine or touched changes.</p>
|
|
58
58
|
<p><strong>Note</strong>: On value change, the emit happens right after a value of this control is updated. The
|
|
59
59
|
value of a parent control (for example if this FormControl is a part of a FormGroup) is updated
|
|
@@ -61,25 +61,14 @@ later, so accessing a value of a parent control (using the <code>value</code> pr
|
|
|
61
61
|
of this event might result in getting a value that has not been updated yet. Subscribe to the
|
|
62
62
|
<code>events</code> of the parent control instead.
|
|
63
63
|
For other event types, the events are emitted after the parent control has been updated.</p>
|
|
64
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.events</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
65
|
-
the value in the UI.</p>
|
|
66
|
-
</div><div class="tsd-comment tsd-typography"><h4>Returns</h4><p>True if the user has not yet changed the value in the UI; compare <code>dirty</code>.
|
|
67
|
-
Programmatic changes to a control's value do not mark it dirty.</p>
|
|
68
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.pristine</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:155</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 ts-flagOptional">Optional</code> <span>readonly</span><a href="#readonly" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><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">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/forms/src/lib/types.ts#L75">packages/angular/forms/src/lib/types.ts:75</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="rxapFormDefinition" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>rxap<wbr/>Form<wbr/>Definition</span><a href="#rxapFormDefinition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">rxap<wbr/>Form<wbr/>Definition</span><span class="tsd-signature-symbol">?:</span> <a href="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-type">any</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/forms/src/lib/types.ts#L74">packages/angular/forms/src/lib/types.ts:74</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 ts-flagOptional">Optional</code> <span>state<wbr/>Changes</span><a href="#stateChanges" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">state<wbr/>Changes</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">any</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/forms/src/lib/types.ts#L76">packages/angular/forms/src/lib/types.ts:76</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="status" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>status</span><a href="#status" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><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">FormControlStatus</span></div><div class="tsd-comment tsd-typography"><p>The validation status of the control.</p>
|
|
69
|
-
</div><div class="tsd-comment tsd-typography"><h4>See</h4><p>FormControlStatus</p>
|
|
70
|
-
<p>These status values are mutually exclusive, so a control cannot be
|
|
71
|
-
both valid AND invalid or invalid AND disabled.</p>
|
|
72
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.status</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:93</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="statusChanges" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>status<wbr/>Changes</span><a href="#statusChanges" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">status<wbr/>Changes</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">FormControlStatus</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 validation <code>status</code> of the control
|
|
64
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.events</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:196</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="fullControlPath" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>full<wbr/>Control<wbr/>Path</span><a href="#fullControlPath" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">full<wbr/>Control<wbr/>Path</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/253084bd23ad946dca139ac3fa4b171003a4106b/packages/angular/forms/src/lib/types.ts#L73">packages/angular/forms/src/lib/types.ts:73</a></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 ts-flagOptional">Optional</code> <span>readonly</span><a href="#readonly" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><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">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/253084bd23ad946dca139ac3fa4b171003a4106b/packages/angular/forms/src/lib/types.ts#L75">packages/angular/forms/src/lib/types.ts:75</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="rxapFormDefinition" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>rxap<wbr/>Form<wbr/>Definition</span><a href="#rxapFormDefinition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">rxap<wbr/>Form<wbr/>Definition</span><span class="tsd-signature-symbol">?:</span> <a href="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-type">any</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/253084bd23ad946dca139ac3fa4b171003a4106b/packages/angular/forms/src/lib/types.ts#L74">packages/angular/forms/src/lib/types.ts:74</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 ts-flagOptional">Optional</code> <span>state<wbr/>Changes</span><a href="#stateChanges" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">state<wbr/>Changes</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">any</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/253084bd23ad946dca139ac3fa4b171003a4106b/packages/angular/forms/src/lib/types.ts#L76">packages/angular/forms/src/lib/types.ts:76</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="statusChanges" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>status<wbr/>Changes</span><a href="#statusChanges" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">status<wbr/>Changes</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">FormControlStatus</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 validation <code>status</code> of the control
|
|
73
65
|
recalculates.</p>
|
|
74
66
|
</div><div class="tsd-comment tsd-typography"><h4>See</h4><ul>
|
|
75
67
|
<li>FormControlStatus</li>
|
|
76
|
-
<li><a href="AbstractControl.html#status" class="tsd-kind-
|
|
68
|
+
<li><a href="AbstractControl.html#status" class="tsd-kind-accessor">AbstractControl.status</a></li>
|
|
77
69
|
</ul>
|
|
78
70
|
<p>TODO: this should be piped from events() but is breaking in G3</p>
|
|
79
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.statusChanges</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
80
|
-
<p>A control is marked <code>touched</code> once the user has triggered
|
|
81
|
-
a <code>blur</code> event on it.</p>
|
|
82
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.touched</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:170</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="value" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>value</span><a href="#value" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><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="AbstractControl.html#T">T</a></div><aside class="tsd-sources"><p>Overrides NgAbstractControl.value</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/4c880330634b938589d8f7450d07c5b5fc9cb8db/packages/angular/forms/src/lib/types.ts#L71">packages/angular/forms/src/lib/types.ts:71</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="valueChanges" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>value<wbr/>Changes</span><a href="#valueChanges" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">value<wbr/>Changes</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">any</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 value of the control changes, in
|
|
71
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.statusChanges</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:220</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="value" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>value</span><a href="#value" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><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="AbstractControl.html#T">T</a></div><aside class="tsd-sources"><p>Overrides NgAbstractControl.value</p><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/253084bd23ad946dca139ac3fa4b171003a4106b/packages/angular/forms/src/lib/types.ts#L71">packages/angular/forms/src/lib/types.ts:71</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="valueChanges" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>value<wbr/>Changes</span><a href="#valueChanges" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">value<wbr/>Changes</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">any</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 value of the control changes, in
|
|
83
72
|
the UI or programmatically. It also emits an event each time you call enable() or disable()
|
|
84
73
|
without passing along {emitEvent: false} as a function argument.</p>
|
|
85
74
|
<p><strong>Note</strong>: the emit happens right after a value of this control is updated. The value of a
|
|
@@ -88,45 +77,56 @@ accessing a value of a parent control (using the <code>value</code> property) fr
|
|
|
88
77
|
event might result in getting a value that has not been updated yet. Subscribe to the
|
|
89
78
|
<code>valueChanges</code> event of the parent control instead.</p>
|
|
90
79
|
<p>TODO: this should be piped from events() but is breaking in G3</p>
|
|
91
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.valueChanges</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
80
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.valueChanges</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:210</li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group"><h2>Accessors</h2><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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature" id="asyncValidator.asyncValidator-1"><span class="tsd-signature-keyword">get</span> asyncValidator<span class="tsd-signature-symbol">(</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></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns the function that is used to determine the validity of this control asynchronously.
|
|
92
81
|
If multiple validators have been added, this will be a single composed function.
|
|
93
82
|
See <code>Validators.compose()</code> for additional information.</p>
|
|
94
83
|
</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 NgAbstractControl.asyncValidator</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:79</li></ul></aside></li><li class="tsd-signature" id="asyncValidator.asyncValidator-2"><span class="tsd-signature-keyword">set</span> asyncValidator<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">asyncValidatorFn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li 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 NgAbstractControl.asyncValidator</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:80</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="dirty" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>dirty</span><a href="#dirty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature" id="dirty.dirty-1"><span class="tsd-signature-keyword">get</span> dirty<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></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>A control is <code>dirty</code> if the user has changed the value
|
|
95
84
|
in the UI.</p>
|
|
96
85
|
</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>.
|
|
97
86
|
Programmatic changes to a control's value do not mark it dirty.</p>
|
|
98
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.dirty</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
87
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.dirty</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:167</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="disabled" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>disabled</span><a href="#disabled" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature" id="disabled.disabled-1"><span class="tsd-signature-keyword">get</span> disabled<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></li><li 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>
|
|
99
88
|
<p>Disabled controls are exempt from validation checks and
|
|
100
89
|
are not included in the aggregate value of their ancestor
|
|
101
90
|
controls.</p>
|
|
102
91
|
</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>
|
|
103
|
-
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="AbstractControl.html#status" class="tsd-kind-
|
|
104
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.disabled</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
92
|
+
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="AbstractControl.html#status" class="tsd-kind-accessor">AbstractControl.status</a></p>
|
|
93
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.disabled</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:134</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="enabled" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enabled</span><a href="#enabled" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature" id="enabled.enabled-1"><span class="tsd-signature-keyword">get</span> enabled<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></li><li 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>
|
|
105
94
|
</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',
|
|
106
95
|
false if the status is 'DISABLED'.</p>
|
|
107
|
-
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="AbstractControl.html#status" class="tsd-kind-
|
|
108
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.enabled</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
96
|
+
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="AbstractControl.html#status" class="tsd-kind-accessor">AbstractControl.status</a></p>
|
|
97
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.enabled</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:144</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature" id="invalid.invalid-1"><span class="tsd-signature-keyword">get</span> invalid<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></li><li 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>
|
|
109
98
|
</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,
|
|
110
99
|
false otherwise.</p>
|
|
111
|
-
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="AbstractControl.html#status" class="tsd-kind-
|
|
112
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.invalid</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
100
|
+
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="AbstractControl.html#status" class="tsd-kind-accessor">AbstractControl.status</a></p>
|
|
101
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.invalid</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:113</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="parent" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>parent</span><a href="#parent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature" id="parent.parent-1"><span class="tsd-signature-keyword">get</span> parent<span class="tsd-signature-symbol">(</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></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>The parent control.</p>
|
|
113
102
|
</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 NgAbstractControl.parent</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:84</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature" id="pending.pending-1"><span class="tsd-signature-keyword">get</span> pending<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></li><li 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>
|
|
114
103
|
</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,
|
|
115
104
|
false otherwise.</p>
|
|
116
|
-
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="AbstractControl.html#status" class="tsd-kind-
|
|
117
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.pending</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
118
|
-
|
|
105
|
+
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="AbstractControl.html#status" class="tsd-kind-accessor">AbstractControl.status</a></p>
|
|
106
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.pending</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:122</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature" id="pristine.pristine-1"><span class="tsd-signature-keyword">get</span> pristine<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></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>A control is <code>pristine</code> if the user has not yet changed
|
|
107
|
+
the value in the UI.</p>
|
|
108
|
+
</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>.
|
|
109
|
+
Programmatic changes to a control's value do not mark it dirty.</p>
|
|
110
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.pristine</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:157</li></ul></aside></li><li class="tsd-signature" id="pristine.pristine-2"><span class="tsd-signature-keyword">set</span> pristine<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li 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 NgAbstractControl.pristine</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:158</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature" id="root.root-1"><span class="tsd-signature-keyword">get</span> root<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</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">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Retrieves the top-level ancestor of this control.</p>
|
|
111
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">AbstractControl</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></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.root</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:680</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="status" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>status</span><a href="#status" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature" id="status.status-1"><span class="tsd-signature-keyword">get</span> status<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">FormControlStatus</span></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>The validation status of the control.</p>
|
|
112
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">FormControlStatus</span></h4><div class="tsd-comment tsd-typography"><h4>See</h4><p>FormControlStatus</p>
|
|
113
|
+
<p>These status values are mutually exclusive, so a control cannot be
|
|
114
|
+
both valid AND invalid or invalid AND disabled.</p>
|
|
115
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.status</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:93</li></ul></aside></li><li class="tsd-signature" id="status.status-2"><span class="tsd-signature-keyword">set</span> status<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li 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">FormControlStatus</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 NgAbstractControl.status</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:94</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature" id="touched.touched-1"><span class="tsd-signature-keyword">get</span> touched<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></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>True if the control is marked as <code>touched</code>.</p>
|
|
116
|
+
<p>A control is marked <code>touched</code> once the user has triggered
|
|
117
|
+
a <code>blur</code> event on it.</p>
|
|
118
|
+
</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 NgAbstractControl.touched</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:174</li></ul></aside></li><li class="tsd-signature" id="touched.touched-2"><span class="tsd-signature-keyword">set</span> touched<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li 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 NgAbstractControl.touched</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:175</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature" id="untouched.untouched-1"><span class="tsd-signature-keyword">get</span> untouched<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></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>True if the control has not been marked as touched</p>
|
|
119
119
|
<p>A control is <code>untouched</code> if the user has not yet triggered
|
|
120
120
|
a <code>blur</code> event on it.</p>
|
|
121
|
-
</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 NgAbstractControl.untouched</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
121
|
+
</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 NgAbstractControl.untouched</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:183</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature" id="updateOn.updateOn-1"><span class="tsd-signature-keyword">get</span> updateOn<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">FormHooks</span></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Reports the update strategy of the <code>AbstractControl</code> (meaning
|
|
122
122
|
the event on which the control updates itself).
|
|
123
123
|
Possible values: <code>'change'</code> | <code>'blur'</code> | <code>'submit'</code>
|
|
124
124
|
Default value: <code>'change'</code></p>
|
|
125
|
-
</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 NgAbstractControl.updateOn</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
125
|
+
</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 NgAbstractControl.updateOn</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:227</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature" id="valid.valid-1"><span class="tsd-signature-keyword">get</span> valid<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></li><li 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>
|
|
126
126
|
</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,
|
|
127
127
|
false otherwise.</p>
|
|
128
|
-
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="AbstractControl.html#status" class="tsd-kind-
|
|
129
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.valid</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
128
|
+
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="AbstractControl.html#status" class="tsd-kind-accessor">AbstractControl.status</a></p>
|
|
129
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.valid</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:104</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature" id="validator.validator-1"><span class="tsd-signature-keyword">get</span> validator<span class="tsd-signature-symbol">(</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></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns the function that is used to determine the validity of this control synchronously.
|
|
130
130
|
If multiple validators have been added, this will be a single composed function.
|
|
131
131
|
See <code>Validators.compose()</code> for additional information.</p>
|
|
132
132
|
</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 NgAbstractControl.validator</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:72</li></ul></aside></li><li class="tsd-signature" id="validator.validator-2"><span class="tsd-signature-keyword">set</span> validator<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validatorFn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li 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 NgAbstractControl.validator</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:73</li></ul></aside></li></ul></section></section><section class="tsd-panel-group tsd-member-group"><h2>Methods</h2><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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="addAsyncValidators.addAsyncValidators-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>Async<wbr/>Validators</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addAsyncValidators.addAsyncValidators-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Add an asynchronous validator or validators to this control, without affecting other
|
|
@@ -135,20 +135,20 @@ validators.</p>
|
|
|
135
135
|
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
136
136
|
<p>Adding a validator that already exists will have no effect.</p>
|
|
137
137
|
</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>
|
|
138
|
-
</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 NgAbstractControl.addAsyncValidators</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
138
|
+
</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 NgAbstractControl.addAsyncValidators</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:274</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="addValidators.addValidators-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>Validators</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addValidators.addValidators-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Add a synchronous validator or validators to this control, without affecting other validators.</p>
|
|
139
139
|
<p>When you add or remove a validator at run time, you must call
|
|
140
140
|
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
141
141
|
<p>Adding a validator that already exists will have no effect. If duplicate validator functions
|
|
142
142
|
are present in the <code>validators</code> array, only the first instance would be added to a form
|
|
143
143
|
control.</p>
|
|
144
144
|
</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>
|
|
145
|
-
</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 NgAbstractControl.addValidators</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
145
|
+
</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 NgAbstractControl.addValidators</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:262</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="clearAsyncValidators.clearAsyncValidators-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">clear<wbr/>Async<wbr/>Validators</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="#clearAsyncValidators.clearAsyncValidators-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Empties out the async validator list.</p>
|
|
146
146
|
<p>When you add or remove a validator at run time, you must call
|
|
147
147
|
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
148
|
-
</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 NgAbstractControl.clearAsyncValidators</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
148
|
+
</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 NgAbstractControl.clearAsyncValidators</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:365</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="clearValidators.clearValidators-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">clear<wbr/>Validators</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="#clearValidators.clearValidators-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Empties out the synchronous validator list.</p>
|
|
149
149
|
<p>When you add or remove a validator at run time, you must call
|
|
150
150
|
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
151
|
-
</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 NgAbstractControl.clearValidators</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
151
|
+
</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 NgAbstractControl.clearValidators</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:357</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="disable.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-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#disable.disable-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Disables the control. This means the control is exempt from validation checks and
|
|
152
152
|
excluded from the aggregate value of any parent. Its status is <code>DISABLED</code>.</p>
|
|
153
153
|
<p>If the control has children, all children are also disabled.</p>
|
|
154
154
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </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><br/><span> </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><br/><span class="tsd-signature-symbol">}</span></span><div class="tsd-comment tsd-typography"><p>Configuration options that determine how the control propagates
|
|
@@ -161,8 +161,8 @@ marks all direct ancestors. Default is false.</li>
|
|
|
161
161
|
observables emit events with the latest status and value when the control is disabled.
|
|
162
162
|
When false, no events are emitted.</li>
|
|
163
163
|
</ul>
|
|
164
|
-
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter"><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">emit<wbr/>Event</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li><li class="tsd-parameter"><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">only<wbr/>Self</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="AbstractControl.html#status" class="tsd-kind-
|
|
165
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.disable</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
164
|
+
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter"><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">emit<wbr/>Event</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li><li class="tsd-parameter"><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">only<wbr/>Self</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="AbstractControl.html#status" class="tsd-kind-accessor">AbstractControl.status</a></p>
|
|
165
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.disable</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:502</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="enable.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-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#enable.enable-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Enables the control. This means the control is included in validation checks and
|
|
166
166
|
the aggregate value of its parent. Its status recalculates based on its value and
|
|
167
167
|
its validators.</p>
|
|
168
168
|
<p>By default, if the control has children, all children are enabled.</p>
|
|
@@ -176,13 +176,13 @@ marks all direct ancestors. Default is false.</li>
|
|
|
176
176
|
observables emit events with the latest status and value when the control is enabled.
|
|
177
177
|
When false, no events are emitted.</li>
|
|
178
178
|
</ul>
|
|
179
|
-
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter"><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">emit<wbr/>Event</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li><li class="tsd-parameter"><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">only<wbr/>Self</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="AbstractControl.html#status" class="tsd-kind-
|
|
180
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.enable</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
179
|
+
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter"><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">emit<wbr/>Event</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li><li class="tsd-parameter"><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">only<wbr/>Self</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="AbstractControl.html#status" class="tsd-kind-accessor">AbstractControl.status</a></p>
|
|
180
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.enable</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:524</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="get.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="AbstractControl.html#get.get-1.P">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">path</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">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="../classes/RxapFormArray.html#get.get-1.P">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="../classes/RxapFormArray.html#get.get-1.P">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><a href="#get.get-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Retrieves a child control given the control's name or path.</p>
|
|
181
181
|
<p>This signature for get supports strings and <code>const</code> arrays (<code>.get(['foo', 'bar'] as const)</code>).</p>
|
|
182
|
-
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="get.get-1.P" 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-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></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="../classes/RxapFormArray.html#get.get-1.P">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="../classes/RxapFormArray.html#get.get-1.P">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="../classes/RxapFormArray.html#get.get-1.P">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 NgAbstractControl.get</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
182
|
+
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="get.get-1.P" 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-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></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="../classes/RxapFormArray.html#get.get-1.P">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="../classes/RxapFormArray.html#get.get-1.P">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="../classes/RxapFormArray.html#get.get-1.P">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 NgAbstractControl.get</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:610</li></ul></aside></li><li class="tsd-signature tsd-anchor-link"><a id="get.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="AbstractControl.html#get.get-2.P-1">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">path</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">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="../classes/RxapFormArray.html#get.get-2.P-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="../classes/RxapFormArray.html#get.get-2.P-1">P</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><a href="#get.get-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Retrieves a child control given the control's name or path.</p>
|
|
183
183
|
<p>This signature for <code>get</code> supports non-const (mutable) arrays. Inferred type
|
|
184
184
|
information will not be as robust, so prefer to pass a <code>readonly</code> array if possible.</p>
|
|
185
|
-
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="get.get-2.P-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-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></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="../classes/RxapFormArray.html#get.get-2.P-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="../classes/RxapFormArray.html#get.get-2.P-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="../classes/RxapFormArray.html#get.get-2.P-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 NgAbstractControl.get</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
185
|
+
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="get.get-2.P-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-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></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="../classes/RxapFormArray.html#get.get-2.P-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="../classes/RxapFormArray.html#get.get-2.P-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="../classes/RxapFormArray.html#get.get-2.P-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 NgAbstractControl.get</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:617</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getError.getError-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Error</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">errorCode</span>, <span class="tsd-kind-parameter">path</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><a href="#getError.getError-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li 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">errorCode</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The code of the error to check</p>
|
|
186
186
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">path</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </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><div class="tsd-comment tsd-typography"><p>A list of control names that designates how to move from the current control
|
|
187
187
|
to the control that should be queried for errors.</p>
|
|
188
188
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><p>error data for that particular error. If the control or error is not present,
|
|
@@ -197,14 +197,14 @@ null is returned.</p>
|
|
|
197
197
|
<li>An array of string control names, e.g. <code>['address', 'street']</code></li>
|
|
198
198
|
<li>A period-delimited list of control names in one string, e.g. <code>'address.street'</code></li>
|
|
199
199
|
</ol>
|
|
200
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.getError</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
200
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.getError</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:645</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getRawValue.getRawValue-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Raw<wbr/>Value</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><a href="#getRawValue.getRawValue-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>The raw value of this control. For most control implementations, the raw value will include
|
|
201
201
|
disabled children.</p>
|
|
202
|
-
</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 NgAbstractControl.getRawValue</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
202
|
+
</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 NgAbstractControl.getRawValue</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:551</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="hasAsyncValidator.hasAsyncValidator-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">has<wbr/>Async<wbr/>Validator</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validator</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#hasAsyncValidator.hasAsyncValidator-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Check whether an asynchronous validator function is present on this control. The provided
|
|
203
203
|
validator must be a reference to the exact same function that was provided.</p>
|
|
204
204
|
</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
|
|
205
205
|
reference.</p>
|
|
206
206
|
</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>
|
|
207
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.hasAsyncValidator</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
207
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.hasAsyncValidator</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:349</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="hasError.hasError-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">has<wbr/>Error</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">errorCode</span>, <span class="tsd-kind-parameter">path</span><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="#hasError.hasError-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li 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">errorCode</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The code of the error to check</p>
|
|
208
208
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">path</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </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><div class="tsd-comment tsd-typography"><p>A list of control names that designates how to move from the current control
|
|
209
209
|
to the control that should be queried for errors.</p>
|
|
210
210
|
</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>
|
|
@@ -220,13 +220,13 @@ to the control that should be queried for errors.</p>
|
|
|
220
220
|
<li>A period-delimited list of control names in one string, e.g. <code>'address.street'</code></li>
|
|
221
221
|
</ol>
|
|
222
222
|
<p>If no path is given, this method checks for the error on the current control.</p>
|
|
223
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.hasError</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
223
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.hasError</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:676</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="hasValidator.hasValidator-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">has<wbr/>Validator</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validator</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#hasValidator.hasValidator-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Check whether a synchronous validator function is present on this control. The provided
|
|
224
224
|
validator must be a reference to the exact same function that was provided.</p>
|
|
225
225
|
</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>
|
|
226
226
|
</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>
|
|
227
227
|
<div class="tsd-comment tsd-typography"><h4>Usage Notes</h4><a id="md:reference-to-a-validatorfn" class="tsd-anchor"></a><h3><a href="#md:reference-to-a-validatorfn">Reference to a ValidatorFn</a></h3><pre><code><span class="hl-6">// Reference to the RequiredValidator</span><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">ctrl</span><span class="hl-1"> = </span><span class="hl-4">new</span><span class="hl-1"> </span><span class="hl-0">FormControl</span><span class="hl-1"><</span><span class="hl-9">number</span><span class="hl-1"> | </span><span class="hl-9">null</span><span class="hl-1">>(</span><span class="hl-8">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-4">true</span><span class="hl-1">)</span><br/><br/><span class="hl-6">// Reference to anonymous function inside MinValidator</span><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">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-8">3</span><span class="hl-1">);</span><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">ctrl</span><span class="hl-1"> = </span><span class="hl-4">new</span><span class="hl-1"> </span><span class="hl-0">FormControl</span><span class="hl-1"><</span><span class="hl-9">number</span><span class="hl-1"> | </span><span class="hl-9">null</span><span class="hl-1">>(</span><span class="hl-8">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-4">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-8">3</span><span class="hl-1">))).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-4">false</span><span class="hl-1">)</span>
|
|
228
228
|
</code><button>Copy</button></pre>
|
|
229
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.hasValidator</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
229
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.hasValidator</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:340</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="markAllAsTouched.markAllAsTouched-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">mark<wbr/>All<wbr/>As<wbr/>Touched</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-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#markAllAsTouched.markAllAsTouched-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Marks the control and all its descendant controls as <code>touched</code>.</p>
|
|
230
230
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </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><br/><span class="tsd-signature-symbol">}</span></span><div class="tsd-comment tsd-typography"><p>Configuration options that determine how the control propagates changes
|
|
231
231
|
and emits events after marking is applied.</p>
|
|
232
232
|
<ul>
|
|
@@ -235,7 +235,7 @@ observable emits a <code>TouchedChangeEvent</code> with the <code>touched</code>
|
|
|
235
235
|
When false, no events are emitted.</li>
|
|
236
236
|
</ul>
|
|
237
237
|
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter"><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">emit<wbr/>Event</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="AbstractControl.html#markAsTouched" class="tsd-kind-method">()</a></p>
|
|
238
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.markAllAsTouched</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
238
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.markAllAsTouched</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:396</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="markAsDirty.markAsDirty-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">mark<wbr/>As<wbr/>Dirty</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-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#markAsDirty.markAsDirty-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Marks the control as <code>dirty</code>. A control becomes dirty when
|
|
239
239
|
the control's value is changed through the UI; compare <code>markAsTouched</code>.</p>
|
|
240
240
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </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><br/><span> </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><br/><span class="tsd-signature-symbol">}</span></span><div class="tsd-comment tsd-typography"><p>Configuration options that determine how the control propagates changes
|
|
241
241
|
and emits events after marking is applied.</p>
|
|
@@ -251,7 +251,7 @@ When false, no events are emitted.</li>
|
|
|
251
251
|
<li><a href="AbstractControl.html#markAsUntouched" class="tsd-kind-method">()</a></li>
|
|
252
252
|
<li><a href="AbstractControl.html#markAsPristine" class="tsd-kind-method">()</a></li>
|
|
253
253
|
</ul>
|
|
254
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.markAsDirty</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
254
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.markAsDirty</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:437</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="markAsPending.markAsPending-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">mark<wbr/>As<wbr/>Pending</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-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#markAsPending.markAsPending-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Marks the control as <code>pending</code>.</p>
|
|
255
255
|
<p>A control is pending while the control performs async validation.</p>
|
|
256
256
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </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><br/><span> </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><br/><span class="tsd-signature-symbol">}</span></span><div class="tsd-comment tsd-typography"><p>Configuration options that determine how the control propagates changes and
|
|
257
257
|
emits events after marking is applied.</p>
|
|
@@ -263,8 +263,8 @@ observable emits an event with the latest status the control is marked pending
|
|
|
263
263
|
and the <code>events</code> observable emits a <code>StatusChangeEvent</code> with the <code>status</code> property being
|
|
264
264
|
<code>PENDING</code> When false, no events are emitted.</li>
|
|
265
265
|
</ul>
|
|
266
|
-
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter"><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">emit<wbr/>Event</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li><li class="tsd-parameter"><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">only<wbr/>Self</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="AbstractControl.html#status" class="tsd-kind-
|
|
267
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.markAsPending</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
266
|
+
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter"><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">emit<wbr/>Event</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li><li class="tsd-parameter"><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">only<wbr/>Self</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="AbstractControl.html#status" class="tsd-kind-accessor">AbstractControl.status</a></p>
|
|
267
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.markAsPending</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:481</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="markAsPristine.markAsPristine-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">mark<wbr/>As<wbr/>Pristine</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-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#markAsPristine.markAsPristine-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Marks the control as <code>pristine</code>.</p>
|
|
268
268
|
<p>If the control has any children, marks all children as <code>pristine</code>,
|
|
269
269
|
and recalculates the <code>pristine</code> status of all parent
|
|
270
270
|
controls.</p>
|
|
@@ -282,7 +282,7 @@ When false, no events are emitted.</li>
|
|
|
282
282
|
<li><a href="AbstractControl.html#markAsUntouched" class="tsd-kind-method">()</a></li>
|
|
283
283
|
<li><a href="AbstractControl.html#markAsDirty" class="tsd-kind-method">()</a></li>
|
|
284
284
|
</ul>
|
|
285
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.markAsPristine</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
285
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.markAsPristine</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:460</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="markAsTouched.markAsTouched-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">mark<wbr/>As<wbr/>Touched</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-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#markAsTouched.markAsTouched-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Marks the control as <code>touched</code>. A control is touched by focus and
|
|
286
286
|
blur events that do not change the value.</p>
|
|
287
287
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </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><br/><span> </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><br/><span class="tsd-signature-symbol">}</span></span><div class="tsd-comment tsd-typography"><p>Configuration options that determine how the control propagates changes
|
|
288
288
|
and emits events after marking is applied.</p>
|
|
@@ -298,7 +298,7 @@ When false, no events are emitted.</li>
|
|
|
298
298
|
<li><a href="AbstractControl.html#markAsDirty" class="tsd-kind-method">()</a></li>
|
|
299
299
|
<li><a href="AbstractControl.html#markAsPristine" class="tsd-kind-method">()</a></li>
|
|
300
300
|
</ul>
|
|
301
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.markAsTouched</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
301
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.markAsTouched</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:382</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="markAsUntouched.markAsUntouched-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">mark<wbr/>As<wbr/>Untouched</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-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#markAsUntouched.markAsUntouched-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Marks the control as <code>untouched</code>.</p>
|
|
302
302
|
<p>If the control has any children, also marks all children as <code>untouched</code>
|
|
303
303
|
and recalculates the <code>touched</code> status of all parent controls.</p>
|
|
304
304
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </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><br/><span> </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><br/><span class="tsd-signature-symbol">}</span></span><div class="tsd-comment tsd-typography"><p>Configuration options that determine how the control propagates changes
|
|
@@ -315,15 +315,15 @@ When false, no events are emitted.</li>
|
|
|
315
315
|
<li><a href="AbstractControl.html#markAsDirty" class="tsd-kind-method">()</a></li>
|
|
316
316
|
<li><a href="AbstractControl.html#markAsPristine" class="tsd-kind-method">()</a></li>
|
|
317
317
|
</ul>
|
|
318
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.markAsUntouched</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
319
|
-
</div><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">any</span></span></li><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type">Object</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>Inherited from NgAbstractControl.patchValue</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
318
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.markAsUntouched</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:417</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="patchValue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagAbstract">Abstract</code> <span>patch<wbr/>Value</span><a href="#patchValue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="patchValue.patchValue-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">patch<wbr/>Value</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">options</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="#patchValue.patchValue-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Patches the value of the control. Abstract method (implemented in sub-classes).</p>
|
|
319
|
+
</div><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">any</span></span></li><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type">Object</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>Inherited from NgAbstractControl.patchValue</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:542</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removeAsyncValidators.removeAsyncValidators-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>Async<wbr/>Validators</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#removeAsyncValidators.removeAsyncValidators-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Remove an asynchronous validator from this control, without affecting other validators.
|
|
320
320
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
321
321
|
validator function as the one that was originally set. If a provided validator is not found, it
|
|
322
322
|
is ignored.</p>
|
|
323
323
|
<p>When you add or remove a validator at run time, you must call
|
|
324
324
|
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
325
325
|
</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>
|
|
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><aside class="tsd-sources"><p>Inherited from NgAbstractControl.removeAsyncValidators</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
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><aside class="tsd-sources"><p>Inherited from NgAbstractControl.removeAsyncValidators</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:316</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removeValidators.removeValidators-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>Validators</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#removeValidators.removeValidators-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Remove a synchronous validator from this control, without affecting other validators.
|
|
327
327
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
328
328
|
validator function as the one that was originally set. If a provided validator is not found,
|
|
329
329
|
it is ignored.</p>
|
|
@@ -332,14 +332,14 @@ it is ignored.</p>
|
|
|
332
332
|
</code><button>Copy</button></pre>
|
|
333
333
|
<p>When you add or remove a validator at run time, you must call
|
|
334
334
|
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
335
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.removeValidators</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
336
|
-
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">any</span></span></li><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type">Object</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>Inherited from NgAbstractControl.reset</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
335
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.removeValidators</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:304</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="reset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagAbstract">Abstract</code> <span>reset</span><a href="#reset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="reset.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">value</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">options</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="#reset.reset-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Resets the control. Abstract method (implemented in sub-classes).</p>
|
|
336
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">any</span></span></li><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type">Object</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>Inherited from NgAbstractControl.reset</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:546</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setAsyncValidators.setAsyncValidators-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Async<wbr/>Validators</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setAsyncValidators.setAsyncValidators-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the asynchronous validators that are active on this control. Calling this
|
|
337
337
|
overwrites any existing asynchronous validators.</p>
|
|
338
338
|
<p>When you add or remove a validator at run time, you must call
|
|
339
339
|
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
340
340
|
<p>If you want to add a new validator without affecting existing ones, consider
|
|
341
341
|
using <code>addAsyncValidators()</code> method instead.</p>
|
|
342
|
-
</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">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-type">AsyncValidatorFn</span><span class="tsd-signature-symbol">[]</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>Inherited from NgAbstractControl.setAsyncValidators</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
342
|
+
</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">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-type">AsyncValidatorFn</span><span class="tsd-signature-symbol">[]</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>Inherited from NgAbstractControl.setAsyncValidators</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:249</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setErrors.setErrors-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Errors</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">errors</span>, <span class="tsd-kind-parameter">opts</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="#setErrors.setErrors-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets errors on a form control when running validations manually, rather than automatically.</p>
|
|
343
343
|
<p>Calling <code>setErrors</code> also updates the validity of the parent control.</p>
|
|
344
344
|
</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">ValidationErrors</span></span></li><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </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><br/><span class="tsd-signature-symbol">}</span></span><div class="tsd-comment tsd-typography"><p>Configuration options that determine how the control propagates
|
|
345
345
|
changes and emits events after the control errors are set.</p>
|
|
@@ -349,16 +349,16 @@ observable emits an event after the errors are set.</li>
|
|
|
349
349
|
</ul>
|
|
350
350
|
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter"><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">emit<wbr/>Event</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4>Usage Notes</h4><a id="md:manually-set-the-errors-for-a-control" class="tsd-anchor"></a><h3><a href="#md:manually-set-the-errors-for-a-control">Manually set the errors for a control</a></h3><pre><code><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">login</span><span class="hl-1"> = </span><span class="hl-4">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-4">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-4">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-4">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-4">true</span><span class="hl-1">);</span>
|
|
351
351
|
</code><button>Copy</button></pre>
|
|
352
|
-
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.setErrors</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
352
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.setErrors</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:602</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setParent.setParent-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Parent</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">parent</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setParent.setParent-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the parent of the control</p>
|
|
353
353
|
</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>
|
|
354
|
-
</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 NgAbstractControl.setParent</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
354
|
+
</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 NgAbstractControl.setParent</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:534</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setValidators.setValidators-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Validators</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">validators</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setValidators.setValidators-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the synchronous validators that are active on this control. Calling
|
|
355
355
|
this overwrites any existing synchronous validators.</p>
|
|
356
356
|
<p>When you add or remove a validator at run time, you must call
|
|
357
357
|
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
358
358
|
<p>If you want to add a new validator without affecting existing ones, consider
|
|
359
359
|
using <code>addValidators()</code> method instead.</p>
|
|
360
|
-
</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">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-type">ValidatorFn</span><span class="tsd-signature-symbol">[]</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>Inherited from NgAbstractControl.setValidators</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
361
|
-
</div><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">any</span></span></li><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type">Object</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>Inherited from NgAbstractControl.setValue</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:
|
|
360
|
+
</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">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-type">ValidatorFn</span><span class="tsd-signature-symbol">[]</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>Inherited from NgAbstractControl.setValidators</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:238</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setValue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagAbstract">Abstract</code> <span>set<wbr/>Value</span><a href="#setValue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setValue.setValue-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Value</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">options</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="#setValue.setValue-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the value of the control. Abstract method (implemented in sub-classes).</p>
|
|
361
|
+
</div><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">any</span></span></li><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type">Object</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>Inherited from NgAbstractControl.setValue</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:538</li></ul></aside></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"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="updateValueAndValidity.updateValueAndValidity-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Value<wbr/>And<wbr/>Validity</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-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#updateValueAndValidity.updateValueAndValidity-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Recalculates the value and validation status of the control.</p>
|
|
362
362
|
<p>By default, it also updates the value and validity of its ancestors.</p>
|
|
363
363
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </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><br/><span> </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><br/><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
|
|
364
364
|
after updates and validity checks are applied.</p>
|
|
@@ -370,4 +370,4 @@ update all direct ancestors. Default is false.</li>
|
|
|
370
370
|
observables emit events with the latest status and value when the control is updated.
|
|
371
371
|
When false, no events are emitted.</li>
|
|
372
372
|
</ul>
|
|
373
|
-
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter"><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">emit<wbr/>Event</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li><li class="tsd-parameter"><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">only<wbr/>Self</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li></ul></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 NgAbstractControl.updateValueAndValidity</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:560</li></ul></aside></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><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-private" name="private"/><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>Private</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></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><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-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#controlId" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>control<wbr/>Id</span></a><a href="#errors" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><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"><use href="../assets/icons.svg#icon-1024"></use></svg><span>events</span></a><a href="#fullControlPath" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>full<wbr/>Control<wbr/>Path</span></a><a href="#pristine" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pristine</span></a><a href="#readonly" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>readonly</span></a><a href="#rxapFormDefinition" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>rxap<wbr/>Form<wbr/>Definition</span></a><a href="#stateChanges" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>state<wbr/>Changes</span></a><a href="#status" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>status</span></a><a href="#statusChanges" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>status<wbr/>Changes</span></a><a href="#touched" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>touched</span></a><a href="#value" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>value</span></a><a href="#valueChanges" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>value<wbr/>Changes</span></a><a href="#asyncValidator" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>async<wbr/>Validator</span></a><a href="#dirty" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>dirty</span></a><a href="#disabled" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>disabled</span></a><a href="#enabled" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enabled</span></a><a href="#invalid" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>invalid</span></a><a href="#parent" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><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"><use href="../assets/icons.svg#icon-262144"></use></svg><span>pending</span></a><a href="#root" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>root</span></a><a href="#untouched" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><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"><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"><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"><use href="../assets/icons.svg#icon-262144"></use></svg><span>validator</span></a><a href="#addAsyncValidators" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><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"><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"><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"><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"><use href="../assets/icons.svg#icon-2048"></use></svg><span>disable</span></a><a href="#enable" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enable</span></a><a href="#get" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get</span></a><a href="#getError" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><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"><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"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Async<wbr/>Validator</span></a><a href="#hasError" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Error</span></a><a href="#hasValidator" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Validator</span></a><ul><li><ul><li><ul><li><a href="#md:reference-to-a-validatorfn"><span>Reference to a <wbr/>Validator<wbr/>Fn</span></a></li></ul></li></ul></li></ul><a href="#markAllAsTouched" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>All<wbr/>As<wbr/>Touched</span></a><a href="#markAsDirty" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><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"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>As<wbr/>Pending</span></a><a href="#markAsPristine" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>As<wbr/>Pristine</span></a><a href="#markAsTouched" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>As<wbr/>Touched</span></a><a href="#markAsUntouched" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>As<wbr/>Untouched</span></a><a href="#patchValue" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>patch<wbr/>Value</span></a><a href="#removeAsyncValidators" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><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"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Validators</span></a><ul><li><ul><li><ul><li><a href="#md:reference-to-a-validatorfn"><span>Reference to a <wbr/>Validator<wbr/>Fn</span></a></li></ul></li></ul></li></ul><a href="#reset" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset</span></a><a href="#setAsyncValidators" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Async<wbr/>Validators</span></a><a href="#setErrors" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Errors</span></a><ul><li><ul><li><ul><li><a href="#md: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"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Parent</span></a><a href="#setValidators" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Validators</span></a><a href="#setValue" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><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"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Value<wbr/>And<wbr/>Validity</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@rxap/forms</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><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>
|
|
373
|
+
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter"><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">emit<wbr/>Event</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li><li class="tsd-parameter"><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">only<wbr/>Self</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li></ul></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 NgAbstractControl.updateValueAndValidity</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:566</li></ul></aside></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><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-private" name="private"/><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>Private</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></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><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-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#controlId" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>control<wbr/>Id</span></a><a href="#errors" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><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"><use href="../assets/icons.svg#icon-1024"></use></svg><span>events</span></a><a href="#fullControlPath" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>full<wbr/>Control<wbr/>Path</span></a><a href="#readonly" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>readonly</span></a><a href="#rxapFormDefinition" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>rxap<wbr/>Form<wbr/>Definition</span></a><a href="#stateChanges" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>state<wbr/>Changes</span></a><a href="#statusChanges" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>status<wbr/>Changes</span></a><a href="#value" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>value</span></a><a href="#valueChanges" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>value<wbr/>Changes</span></a><a href="#asyncValidator" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>async<wbr/>Validator</span></a><a href="#dirty" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>dirty</span></a><a href="#disabled" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>disabled</span></a><a href="#enabled" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>enabled</span></a><a href="#invalid" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>invalid</span></a><a href="#parent" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><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"><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"><use href="../assets/icons.svg#icon-262144"></use></svg><span>pristine</span></a><a href="#root" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>root</span></a><a href="#status" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>status</span></a><a href="#touched" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><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"><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"><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"><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"><use href="../assets/icons.svg#icon-262144"></use></svg><span>validator</span></a><a href="#addAsyncValidators" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><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"><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"><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"><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"><use href="../assets/icons.svg#icon-2048"></use></svg><span>disable</span></a><a href="#enable" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enable</span></a><a href="#get" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get</span></a><a href="#getError" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><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"><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"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Async<wbr/>Validator</span></a><a href="#hasError" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Error</span></a><a href="#hasValidator" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Validator</span></a><ul><li><ul><li><ul><li><a href="#md:reference-to-a-validatorfn"><span>Reference to a <wbr/>Validator<wbr/>Fn</span></a></li></ul></li></ul></li></ul><a href="#markAllAsTouched" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>All<wbr/>As<wbr/>Touched</span></a><a href="#markAsDirty" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><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"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>As<wbr/>Pending</span></a><a href="#markAsPristine" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>As<wbr/>Pristine</span></a><a href="#markAsTouched" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>As<wbr/>Touched</span></a><a href="#markAsUntouched" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mark<wbr/>As<wbr/>Untouched</span></a><a href="#patchValue" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>patch<wbr/>Value</span></a><a href="#removeAsyncValidators" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><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"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Validators</span></a><ul><li><ul><li><ul><li><a href="#md:reference-to-a-validatorfn"><span>Reference to a <wbr/>Validator<wbr/>Fn</span></a></li></ul></li></ul></li></ul><a href="#reset" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset</span></a><a href="#setAsyncValidators" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Async<wbr/>Validators</span></a><a href="#setErrors" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Errors</span></a><ul><li><ul><li><ul><li><a href="#md: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"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Parent</span></a><a href="#setValidators" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Validators</span></a><a href="#setValue" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><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"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Value<wbr/>And<wbr/>Validity</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@rxap/forms</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><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>
|