@rxap/forms 18.0.2 → 18.0.3-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/README.md +14 -1
- package/compodoc/changelog.html +777 -0
- package/compodoc/classes/ControlValueAccessor.html +607 -0
- package/compodoc/classes/FormArrayControlManager.html +1177 -0
- package/compodoc/classes/RxapFormArray.html +3898 -0
- package/compodoc/classes/RxapFormBuilder.html +1132 -0
- package/compodoc/classes/RxapFormControl.html +3573 -0
- package/compodoc/classes/RxapFormGroup.html +6619 -0
- package/compodoc/dependencies.html +217 -0
- package/compodoc/directives/FormControlErrorDirective.html +496 -0
- package/compodoc/directives/FormControlMarkDirtyDirective.html +446 -0
- package/compodoc/directives/FormControlMarkPristineDirective.html +445 -0
- package/compodoc/directives/FormControlMarkTouchedDirective.html +438 -0
- package/compodoc/directives/FormControlMarkUntouchedDirective.html +445 -0
- package/compodoc/directives/FormControlNameDirective.html +527 -0
- package/compodoc/directives/FormDirective.html +2415 -0
- package/compodoc/directives/FormGroupNameDirective.html +500 -0
- package/compodoc/directives/FormLoadedDirective.html +374 -0
- package/compodoc/directives/FormLoadingDirective.html +374 -0
- package/compodoc/directives/FormLoadingErrorDirective.html +370 -0
- package/compodoc/directives/FormSubmitDirective.html +690 -0
- package/compodoc/directives/FormSubmitFailedDirective.html +370 -0
- package/compodoc/directives/FormSubmitInvalidDirective.html +368 -0
- package/compodoc/directives/FormSubmitSuccessfulDirective.html +368 -0
- package/compodoc/directives/FormSubmittingDirective.html +374 -0
- package/compodoc/directives/ParentControlContainerDirective.html +274 -0
- package/compodoc/fonts/ionicons.eot +0 -0
- package/compodoc/fonts/ionicons.svg +2090 -0
- package/compodoc/fonts/ionicons.ttf +0 -0
- package/compodoc/fonts/ionicons.woff +0 -0
- package/compodoc/fonts/ionicons.woff2 +0 -0
- package/compodoc/fonts/roboto-v15-latin-300.eot +0 -0
- package/compodoc/fonts/roboto-v15-latin-300.svg +314 -0
- package/compodoc/fonts/roboto-v15-latin-300.ttf +0 -0
- package/compodoc/fonts/roboto-v15-latin-300.woff +0 -0
- package/compodoc/fonts/roboto-v15-latin-300.woff2 +0 -0
- package/compodoc/fonts/roboto-v15-latin-700.eot +0 -0
- package/compodoc/fonts/roboto-v15-latin-700.svg +310 -0
- package/compodoc/fonts/roboto-v15-latin-700.ttf +0 -0
- package/compodoc/fonts/roboto-v15-latin-700.woff +0 -0
- package/compodoc/fonts/roboto-v15-latin-700.woff2 +0 -0
- package/compodoc/fonts/roboto-v15-latin-italic.eot +0 -0
- package/compodoc/fonts/roboto-v15-latin-italic.svg +323 -0
- package/compodoc/fonts/roboto-v15-latin-italic.ttf +0 -0
- package/compodoc/fonts/roboto-v15-latin-italic.woff +0 -0
- package/compodoc/fonts/roboto-v15-latin-italic.woff2 +0 -0
- package/compodoc/fonts/roboto-v15-latin-regular.eot +0 -0
- package/compodoc/fonts/roboto-v15-latin-regular.svg +308 -0
- package/compodoc/fonts/roboto-v15-latin-regular.ttf +0 -0
- package/compodoc/fonts/roboto-v15-latin-regular.woff +0 -0
- package/compodoc/fonts/roboto-v15-latin-regular.woff2 +0 -0
- package/compodoc/graph/dependencies.svg +450 -0
- package/compodoc/images/compodoc-vectorise-inverted.png +0 -0
- package/compodoc/images/compodoc-vectorise-inverted.svg +201 -0
- package/compodoc/images/compodoc-vectorise.png +0 -0
- package/compodoc/images/compodoc-vectorise.svg +201 -0
- package/compodoc/images/favicon.ico +0 -0
- package/compodoc/index.html +197 -0
- package/compodoc/interfaces/AbstractControl.html +622 -0
- package/compodoc/interfaces/AbstractControlOptions.html +448 -0
- package/compodoc/interfaces/BoxedValue.html +436 -0
- package/compodoc/interfaces/ComplexityOptions.html +819 -0
- package/compodoc/interfaces/ControlOptions.html +689 -0
- package/compodoc/interfaces/ControlSetValueOptions.html +345 -0
- package/compodoc/interfaces/FormArrayOptions.html +544 -0
- package/compodoc/interfaces/FormDefinition.html +626 -0
- package/compodoc/interfaces/FormDefinitionArray.html +427 -0
- package/compodoc/interfaces/FormDefinitionMetadata.html +486 -0
- package/compodoc/interfaces/FormGroupOptions.html +427 -0
- package/compodoc/interfaces/FormLoadFailedMethod.html +360 -0
- package/compodoc/interfaces/FormLoadMethod.html +330 -0
- package/compodoc/interfaces/FormLoadSuccessfulMethod.html +360 -0
- package/compodoc/interfaces/FormOptions.html +427 -0
- package/compodoc/interfaces/FormSubmitFailedMethod.html +360 -0
- package/compodoc/interfaces/FormSubmitMethod.html +360 -0
- package/compodoc/interfaces/FormSubmitSuccessfulMethod.html +360 -0
- package/compodoc/interfaces/InjectableValidator.html +472 -0
- package/compodoc/interfaces/IsNumberOptions.html +515 -0
- package/compodoc/interfaces/LengthOptions.html +564 -0
- package/compodoc/interfaces/NgValidatorsErrors.html +613 -0
- package/compodoc/interfaces/RegexOptions.html +603 -0
- package/compodoc/interfaces/RxapAbstractControlOptionsWithDefinition.html +427 -0
- package/compodoc/js/compodoc.js +14 -0
- package/compodoc/js/lazy-load-graphs.js +44 -0
- package/compodoc/js/libs/EventDispatcher.js +5 -0
- package/compodoc/js/libs/bootstrap-native.js +2 -0
- package/compodoc/js/libs/clipboard.min.js +7 -0
- package/compodoc/js/libs/custom-elements-es5-adapter.js +15 -0
- package/compodoc/js/libs/custom-elements.min.js +38 -0
- package/compodoc/js/libs/d3.v3.min.js +2 -0
- package/compodoc/js/libs/deep-iterator.js +2 -0
- package/compodoc/js/libs/es6-shim.min.js +12 -0
- package/compodoc/js/libs/htmlparser.js +23 -0
- package/compodoc/js/libs/innersvg.js +9 -0
- package/compodoc/js/libs/lit-html.js +1 -0
- package/compodoc/js/libs/prism.js +46 -0
- package/compodoc/js/libs/promise.min.js +6 -0
- package/compodoc/js/libs/svg-pan-zoom.min.js +3 -0
- package/compodoc/js/libs/tablesort.min.js +6 -0
- package/compodoc/js/libs/tablesort.number.min.js +6 -0
- package/compodoc/js/libs/vis.min.js +47 -0
- package/compodoc/js/libs/zepto.min.js +2 -0
- package/compodoc/js/menu-wc.js +339 -0
- package/compodoc/js/menu-wc_es5.js +40 -0
- package/compodoc/js/menu.js +270 -0
- package/compodoc/js/routes.js +301 -0
- package/compodoc/js/search/lunr.min.js +6 -0
- package/compodoc/js/search/search-lunr.js +67 -0
- package/compodoc/js/search/search.js +283 -0
- package/compodoc/js/search/search_index.js +4 -0
- package/compodoc/js/sourceCode.js +58 -0
- package/compodoc/js/svg-pan-zoom.controls.js +53 -0
- package/compodoc/js/tabs.js +21 -0
- package/compodoc/js/tree.js +147 -0
- package/compodoc/license.html +731 -0
- package/compodoc/miscellaneous/enumerations.html +291 -0
- package/compodoc/miscellaneous/functions.html +3827 -0
- package/compodoc/miscellaneous/typealiases.html +657 -0
- package/compodoc/miscellaneous/variables.html +554 -0
- package/compodoc/modules/RxapFormsModule/dependencies.svg +450 -0
- package/compodoc/modules/RxapFormsModule.html +864 -0
- package/compodoc/modules.html +200 -0
- package/compodoc/overview.html +681 -0
- package/compodoc/properties.html +195 -0
- package/compodoc/styles/bootstrap-card.css +219 -0
- package/compodoc/styles/bootstrap.min.css +6 -0
- package/compodoc/styles/compodoc.css +1124 -0
- package/compodoc/styles/dark.css +121 -0
- package/compodoc/styles/ionicons.min.css +11 -0
- package/compodoc/styles/laravel.css +113 -0
- package/compodoc/styles/material.css +131 -0
- package/compodoc/styles/original.css +51 -0
- package/compodoc/styles/postmark.css +238 -0
- package/compodoc/styles/prism.css +301 -0
- package/compodoc/styles/readthedocs.css +117 -0
- package/compodoc/styles/reset.css +129 -0
- package/compodoc/styles/stripe.css +106 -0
- package/compodoc/styles/style.css +7 -0
- package/compodoc/styles/tablesort.css +33 -0
- package/compodoc/styles/vagrant.css +130 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +92 -0
- package/docs/assets/icons.js +15 -0
- package/docs/assets/icons.svg +1 -0
- package/docs/assets/main.js +59 -0
- package/docs/assets/navigation.js +1 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1412 -0
- package/docs/classes/ControlValueAccessor.html +8 -0
- package/docs/classes/FormArrayControlManager.html +6 -0
- package/docs/classes/FormControlErrorDirective.html +11 -0
- package/docs/classes/FormControlMarkDirtyDirective.html +4 -0
- package/docs/classes/FormControlMarkPristineDirective.html +4 -0
- package/docs/classes/FormControlMarkTouchedDirective.html +4 -0
- package/docs/classes/FormControlMarkUntouchedDirective.html +4 -0
- package/docs/classes/FormControlNameDirective.html +113 -0
- package/docs/classes/FormDirective.html +187 -0
- package/docs/classes/FormGroupNameDirective.html +101 -0
- package/docs/classes/FormLoadedDirective.html +8 -0
- package/docs/classes/FormLoadingDirective.html +8 -0
- package/docs/classes/FormLoadingErrorDirective.html +8 -0
- package/docs/classes/FormSubmitDirective.html +15 -0
- package/docs/classes/FormSubmitFailedDirective.html +8 -0
- package/docs/classes/FormSubmitInvalidDirective.html +8 -0
- package/docs/classes/FormSubmitSuccessfulDirective.html +8 -0
- package/docs/classes/FormSubmittingDirective.html +8 -0
- package/docs/classes/ParentControlContainerDirective.html +2 -0
- package/docs/classes/RxapFormArray.html +429 -0
- package/docs/classes/RxapFormBuilder.html +65 -0
- package/docs/classes/RxapFormControl.html +264 -0
- package/docs/classes/RxapFormGroup.html +260 -0
- package/docs/classes/RxapFormsModule.html +2 -0
- package/docs/documentation.json +91243 -0
- package/docs/enums/MetadataKeys.html +9 -0
- package/docs/functions/ControlAsyncValidator.html +1 -0
- package/docs/functions/ControlChange.html +1 -0
- package/docs/functions/ControlSetValue.html +1 -0
- package/docs/functions/ControlValidator.html +1 -0
- package/docs/functions/IsArray.html +1 -0
- package/docs/functions/IsBoolean.html +1 -0
- package/docs/functions/IsComplex.html +1 -0
- package/docs/functions/IsDate.html +1 -0
- package/docs/functions/IsEmail.html +1 -0
- package/docs/functions/IsEnum.html +1 -0
- package/docs/functions/IsIP.html +1 -0
- package/docs/functions/IsInt.html +1 -0
- package/docs/functions/IsNumber.html +2 -0
- package/docs/functions/IsObject.html +1 -0
- package/docs/functions/IsPhoneNumber.html +1 -0
- package/docs/functions/IsPort.html +1 -0
- package/docs/functions/IsString.html +1 -0
- package/docs/functions/IsUUID.html +1 -0
- package/docs/functions/IsUrl.html +1 -0
- package/docs/functions/RxapForm.html +1 -0
- package/docs/functions/ToFormMethod.html +1 -0
- package/docs/functions/ToFormSubmitMethod.html +3 -0
- package/docs/functions/UseFormArrayControl.html +1 -0
- package/docs/functions/UseFormArrayGroup.html +1 -0
- package/docs/functions/UseFormControl.html +1 -0
- package/docs/functions/UseFormGroup.html +1 -0
- package/docs/functions/_IsNumber.html +1 -0
- package/docs/functions/controlDisabledWhile.html +1 -0
- package/docs/functions/controlDisabled_.html +1 -0
- package/docs/functions/controlEnabledWhile.html +1 -0
- package/docs/functions/controlEnabled_.html +1 -0
- package/docs/functions/controlErrorChanges_.html +1 -0
- package/docs/functions/controlReadonly_.html +1 -0
- package/docs/functions/controlStatusChanges_.html +1 -0
- package/docs/functions/controlValueChanges_.html +1 -0
- package/docs/functions/disableControl.html +1 -0
- package/docs/functions/enableControl.html +1 -0
- package/docs/functions/hasErrorAndDirty.html +1 -0
- package/docs/functions/hasErrorAndTouched.html +1 -0
- package/docs/functions/isNumber-1.html +2 -0
- package/docs/functions/markAllDirty.html +1 -0
- package/docs/functions/markAllPristine.html +1 -0
- package/docs/functions/markAllUntouched.html +1 -0
- package/docs/functions/mergeControlValidators.html +1 -0
- package/docs/functions/selectControlValue_.html +1 -0
- package/docs/functions/validateControlOn.html +1 -0
- package/docs/hierarchy.html +1 -0
- package/docs/index.html +25 -0
- package/docs/interfaces/AbstractControl.html +373 -0
- package/docs/interfaces/AbstractControlOptions.html +5 -0
- package/docs/interfaces/BoxedValue.html +3 -0
- package/docs/interfaces/ComplexityOptions.html +11 -0
- package/docs/interfaces/ControlOptions.html +20 -0
- package/docs/interfaces/ControlSetValueOptions.html +3 -0
- package/docs/interfaces/FormArrayOptions.html +16 -0
- package/docs/interfaces/FormDefinition.html +13 -0
- package/docs/interfaces/FormDefinitionArray.html +179 -0
- package/docs/interfaces/FormDefinitionMetadata.html +17 -0
- package/docs/interfaces/FormGroupOptions.html +13 -0
- package/docs/interfaces/FormLoadFailedMethod.html +3 -0
- package/docs/interfaces/FormLoadMethod.html +3 -0
- package/docs/interfaces/FormLoadSuccessfulMethod.html +3 -0
- package/docs/interfaces/FormOptions.html +13 -0
- package/docs/interfaces/FormSubmitFailedMethod.html +3 -0
- package/docs/interfaces/FormSubmitMethod.html +3 -0
- package/docs/interfaces/FormSubmitSuccessfulMethod.html +3 -0
- package/docs/interfaces/InjectableValidator.html +3 -0
- package/docs/interfaces/IsNumberOptions.html +6 -0
- package/docs/interfaces/NgValidatorsErrors.html +8 -0
- package/docs/interfaces/RxapAbstractControlOptionsWithDefinition.html +13 -0
- package/docs/interfaces/_RxapAbstractControlOptions.html +12 -0
- package/docs/modules.html +128 -0
- package/docs/types/AsyncValidator.html +1 -0
- package/docs/types/AsyncValidatorFn.html +1 -0
- package/docs/types/ChangeFn.html +1 -0
- package/docs/types/ControlEventOptions.html +1 -0
- package/docs/types/ControlInsertedFn.html +1 -0
- package/docs/types/ControlPath.html +1 -0
- package/docs/types/ControlRemovedFn.html +1 -0
- package/docs/types/ControlState.html +1 -0
- package/docs/types/EmitEvent.html +1 -0
- package/docs/types/ExtractAbstractControl.html +1 -0
- package/docs/types/ExtractStrings.html +1 -0
- package/docs/types/FormBuilderFn.html +1 -0
- package/docs/types/FormType.html +1 -0
- package/docs/types/KeyValueControls.html +1 -0
- package/docs/types/OnlySelf.html +1 -0
- package/docs/types/OrBoxedValue.html +1 -0
- package/docs/types/RxapAbstractControlOptions.html +1 -0
- package/docs/types/SetValueFn.html +1 -0
- package/docs/types/ValidationErrors.html +1 -0
- package/docs/types/Validator.html +1 -0
- package/docs/types/ValidatorFn.html +1 -0
- package/docs/types/ValidatorOrOpts.html +1 -0
- package/docs/variables/RXAP_FORM_CONTEXT.html +1 -0
- package/docs/variables/RXAP_FORM_DEFINITION.html +1 -0
- package/docs/variables/RXAP_FORM_DEFINITION_BUILDER.html +1 -0
- package/docs/variables/RXAP_FORM_INITIAL_STATE.html +1 -0
- package/docs/variables/RXAP_FORM_LOAD_FAILED_METHOD.html +1 -0
- package/docs/variables/RXAP_FORM_LOAD_METHOD.html +1 -0
- package/docs/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.html +1 -0
- package/docs/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.html +1 -0
- package/docs/variables/RXAP_FORM_SUBMIT_METHOD.html +1 -0
- package/docs/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.html +1 -0
- package/docs/variables/RxapValidators.html +1 -0
- package/package.json +20 -18
|
@@ -0,0 +1,373 @@
|
|
|
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">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">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">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">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">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">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/bbecc3ca89ac11dedf7969bed08705f22dfaa186/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
|
+
<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
|
+
<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
|
+
<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
|
+
<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
|
+
<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
|
+
<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
|
+
<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
|
+
<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
|
+
<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
|
+
</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>
|
|
15
|
+
<a href="AbstractControl.html#dirty" 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>dirty</span></a>
|
|
16
|
+
<a href="AbstractControl.html#disabled" 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>disabled</span></a>
|
|
17
|
+
<a href="AbstractControl.html#enabled" 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>enabled</span></a>
|
|
18
|
+
<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
|
+
<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
|
+
<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>
|
|
21
|
+
<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>
|
|
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
|
+
<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
|
+
<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>
|
|
25
|
+
<a href="AbstractControl.html#validator" 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>validator</span></a>
|
|
26
|
+
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="AbstractControl.html#addAsyncValidators" 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>add<wbr/>Async<wbr/>Validators</span></a>
|
|
27
|
+
<a href="AbstractControl.html#addValidators" 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>add<wbr/>Validators</span></a>
|
|
28
|
+
<a href="AbstractControl.html#clearAsyncValidators" 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>clear<wbr/>Async<wbr/>Validators</span></a>
|
|
29
|
+
<a href="AbstractControl.html#clearValidators" 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>clear<wbr/>Validators</span></a>
|
|
30
|
+
<a href="AbstractControl.html#disable" 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>disable</span></a>
|
|
31
|
+
<a href="AbstractControl.html#enable" 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>enable</span></a>
|
|
32
|
+
<a href="AbstractControl.html#get" 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>get</span></a>
|
|
33
|
+
<a href="AbstractControl.html#getError" 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>get<wbr/>Error</span></a>
|
|
34
|
+
<a href="AbstractControl.html#getRawValue" 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>get<wbr/>Raw<wbr/>Value</span></a>
|
|
35
|
+
<a href="AbstractControl.html#hasAsyncValidator" 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>has<wbr/>Async<wbr/>Validator</span></a>
|
|
36
|
+
<a href="AbstractControl.html#hasError" 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>has<wbr/>Error</span></a>
|
|
37
|
+
<a href="AbstractControl.html#hasValidator" 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>has<wbr/>Validator</span></a>
|
|
38
|
+
<a href="AbstractControl.html#markAllAsTouched" 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>mark<wbr/>All<wbr/>As<wbr/>Touched</span></a>
|
|
39
|
+
<a href="AbstractControl.html#markAsDirty" 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>mark<wbr/>As<wbr/>Dirty</span></a>
|
|
40
|
+
<a href="AbstractControl.html#markAsPending" 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>mark<wbr/>As<wbr/>Pending</span></a>
|
|
41
|
+
<a href="AbstractControl.html#markAsPristine" 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>mark<wbr/>As<wbr/>Pristine</span></a>
|
|
42
|
+
<a href="AbstractControl.html#markAsTouched" 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>mark<wbr/>As<wbr/>Touched</span></a>
|
|
43
|
+
<a href="AbstractControl.html#markAsUntouched" 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>mark<wbr/>As<wbr/>Untouched</span></a>
|
|
44
|
+
<a href="AbstractControl.html#patchValue" 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>patch<wbr/>Value</span></a>
|
|
45
|
+
<a href="AbstractControl.html#removeAsyncValidators" 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>remove<wbr/>Async<wbr/>Validators</span></a>
|
|
46
|
+
<a href="AbstractControl.html#removeValidators" 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>remove<wbr/>Validators</span></a>
|
|
47
|
+
<a href="AbstractControl.html#reset" 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>reset</span></a>
|
|
48
|
+
<a href="AbstractControl.html#setAsyncValidators" 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/>Async<wbr/>Validators</span></a>
|
|
49
|
+
<a href="AbstractControl.html#setErrors" 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/>Errors</span></a>
|
|
50
|
+
<a href="AbstractControl.html#setParent" 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/>Parent</span></a>
|
|
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
|
+
<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
|
+
<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/bbecc3ca89ac11dedf7969bed08705f22dfaa186/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">ValidationErrors</span></div><div class="tsd-comment tsd-typography"><p>An object containing any errors generated by failing validation,
|
|
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:147</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
|
+
It emits for value, status, pristine or touched changes.</p>
|
|
58
|
+
<p><strong>Note</strong>: On value change, the emit happens right after a value of this control is updated. The
|
|
59
|
+
value of a parent control (for example if this FormControl is a part of a FormGroup) is updated
|
|
60
|
+
later, so accessing a value of a parent control (using the <code>value</code> property) from the callback
|
|
61
|
+
of this event might result in getting a value that has not been updated yet. Subscribe to the
|
|
62
|
+
<code>events</code> of the parent control instead.
|
|
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:190</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/bbecc3ca89ac11dedf7969bed08705f22dfaa186/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 tsd-is-inherited tsd-is-external"><a id="pristine" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <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><div class="tsd-signature"><span class="tsd-kind-property">pristine</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>A control is <code>pristine</code> if the user has not yet changed
|
|
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/bbecc3ca89ac11dedf7969bed08705f22dfaa186/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/bbecc3ca89ac11dedf7969bed08705f22dfaa186/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/bbecc3ca89ac11dedf7969bed08705f22dfaa186/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
|
|
73
|
+
recalculates.</p>
|
|
74
|
+
</div><div class="tsd-comment tsd-typography"><h4>See</h4><ul>
|
|
75
|
+
<li>FormControlStatus</li>
|
|
76
|
+
<li><a href="AbstractControl.html#status" class="tsd-kind-property">AbstractControl.status</a></li>
|
|
77
|
+
</ul>
|
|
78
|
+
<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:214</li></ul></aside></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"><code class="tsd-tag ts-flagReadonly">Readonly</code> <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><div class="tsd-signature"><span class="tsd-kind-property">touched</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>True if the control is marked as <code>touched</code>.</p>
|
|
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/bbecc3ca89ac11dedf7969bed08705f22dfaa186/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
|
+
the UI or programmatically. It also emits an event each time you call enable() or disable()
|
|
84
|
+
without passing along {emitEvent: false} as a function argument.</p>
|
|
85
|
+
<p><strong>Note</strong>: the emit happens right after a value of this control is updated. The value of a
|
|
86
|
+
parent control (for example if this FormControl is a part of a FormGroup) is updated later, so
|
|
87
|
+
accessing a value of a parent control (using the <code>value</code> property) from the callback of this
|
|
88
|
+
event might result in getting a value that has not been updated yet. Subscribe to the
|
|
89
|
+
<code>valueChanges</code> event of the parent control instead.</p>
|
|
90
|
+
<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:204</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">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
|
+
If multiple validators have been added, this will be a single composed function.
|
|
93
|
+
See <code>Validators.compose()</code> for additional information.</p>
|
|
94
|
+
</div><h4 class="tsd-returns-title">Returns <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">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
|
+
in the UI.</p>
|
|
96
|
+
</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
|
+
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:163</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
|
+
<p>Disabled controls are exempt from validation checks and
|
|
100
|
+
are not included in the aggregate value of their ancestor
|
|
101
|
+
controls.</p>
|
|
102
|
+
</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-property">AbstractControl.status</a></p>
|
|
104
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.disabled</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:132</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
|
+
</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
|
+
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-property">AbstractControl.status</a></p>
|
|
108
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.enabled</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:142</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
|
+
</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
|
+
false otherwise.</p>
|
|
111
|
+
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="AbstractControl.html#status" class="tsd-kind-property">AbstractControl.status</a></p>
|
|
112
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.invalid</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:111</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">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
|
+
</div><h4 class="tsd-returns-title">Returns <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
|
+
</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
|
+
false otherwise.</p>
|
|
116
|
+
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="AbstractControl.html#status" class="tsd-kind-property">AbstractControl.status</a></p>
|
|
117
|
+
</div><aside class="tsd-sources"><p>Inherited from NgAbstractControl.pending</p><ul><li>Defined in node_modules/@angular/forms/index.d.ts:120</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>
|
|
118
|
+
</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:674</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
|
+
<p>A control is <code>untouched</code> if the user has not yet triggered
|
|
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:177</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
|
+
the event on which the control updates itself).
|
|
123
|
+
Possible values: <code>'change'</code> | <code>'blur'</code> | <code>'submit'</code>
|
|
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:221</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
|
+
</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
|
+
false otherwise.</p>
|
|
128
|
+
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="AbstractControl.html#status" class="tsd-kind-property">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:102</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">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
|
+
If multiple validators have been added, this will be a single composed function.
|
|
131
|
+
See <code>Validators.compose()</code> for additional information.</p>
|
|
132
|
+
</div><h4 class="tsd-returns-title">Returns <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">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
|
|
133
|
+
validators.</p>
|
|
134
|
+
<p>When you add or remove a validator at run time, you must call
|
|
135
|
+
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
136
|
+
<p>Adding a validator that already exists will have no effect.</p>
|
|
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:268</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
|
+
<p>When you add or remove a validator at run time, you must call
|
|
140
|
+
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
141
|
+
<p>Adding a validator that already exists will have no effect. If duplicate validator functions
|
|
142
|
+
are present in the <code>validators</code> array, only the first instance would be added to a form
|
|
143
|
+
control.</p>
|
|
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:256</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
|
+
<p>When you add or remove a validator at run time, you must call
|
|
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:359</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
|
+
<p>When you add or remove a validator at run time, you must call
|
|
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:351</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
|
+
excluded from the aggregate value of any parent. Its status is <code>DISABLED</code>.</p>
|
|
153
|
+
<p>If the control has children, all children are also disabled.</p>
|
|
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
|
|
155
|
+
changes and emits events after the control is disabled.</p>
|
|
156
|
+
<ul>
|
|
157
|
+
<li><code>onlySelf</code>: When true, mark only this control. When false or not supplied,
|
|
158
|
+
marks all direct ancestors. Default is false.</li>
|
|
159
|
+
<li><code>emitEvent</code>: When true or not supplied (the default), the <code>statusChanges</code>,
|
|
160
|
+
<code>valueChanges</code> and <code>events</code>
|
|
161
|
+
observables emit events with the latest status and value when the control is disabled.
|
|
162
|
+
When false, no events are emitted.</li>
|
|
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-property">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:496</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
|
+
the aggregate value of its parent. Its status recalculates based on its value and
|
|
167
|
+
its validators.</p>
|
|
168
|
+
<p>By default, if the control has children, all children are enabled.</p>
|
|
169
|
+
</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>Configure options that control how the control propagates changes and
|
|
170
|
+
emits events when marked as untouched</p>
|
|
171
|
+
<ul>
|
|
172
|
+
<li><code>onlySelf</code>: When true, mark only this control. When false or not supplied,
|
|
173
|
+
marks all direct ancestors. Default is false.</li>
|
|
174
|
+
<li><code>emitEvent</code>: When true or not supplied (the default), the <code>statusChanges</code>,
|
|
175
|
+
<code>valueChanges</code> and <code>events</code>
|
|
176
|
+
observables emit events with the latest status and value when the control is enabled.
|
|
177
|
+
When false, no events are emitted.</li>
|
|
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-property">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:518</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">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
|
+
<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">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:604</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">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
|
+
<p>This signature for <code>get</code> supports non-const (mutable) arrays. Inferred type
|
|
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">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:611</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
|
+
</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
|
+
to the control that should be queried for errors.</p>
|
|
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,
|
|
189
|
+
null is returned.</p>
|
|
190
|
+
<div class="tsd-comment tsd-typography"><h4>Description</h4><p>Reports error data for the control with the given path.</p>
|
|
191
|
+
<h4>Usage Notes</h4><p>For example, for the following <code>FormGroup</code>:</p>
|
|
192
|
+
<pre><code><span class="hl-3">form</span><span class="hl-1"> = </span><span class="hl-4">new</span><span class="hl-1"> </span><span class="hl-0">FormGroup</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-3">address:</span><span class="hl-1"> </span><span class="hl-4">new</span><span class="hl-1"> </span><span class="hl-0">FormGroup</span><span class="hl-1">({ </span><span class="hl-3">street:</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><br/><span class="hl-1">});</span>
|
|
193
|
+
</code><button>Copy</button></pre>
|
|
194
|
+
<p>The path to the 'street' control from the root form would be 'address' -> 'street'.</p>
|
|
195
|
+
<p>It can be provided to this method in one of two formats:</p>
|
|
196
|
+
<ol>
|
|
197
|
+
<li>An array of string control names, e.g. <code>['address', 'street']</code></li>
|
|
198
|
+
<li>A period-delimited list of control names in one string, e.g. <code>'address.street'</code></li>
|
|
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:639</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
|
+
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:545</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
|
+
validator must be a reference to the exact same function that was provided.</p>
|
|
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
|
+
reference.</p>
|
|
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:343</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
|
+
</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
|
+
to the control that should be queried for errors.</p>
|
|
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>
|
|
211
|
+
<p>If the control is not present, false is returned.</p>
|
|
212
|
+
<div class="tsd-comment tsd-typography"><h4>Description</h4><p>Reports whether the control with the given path has the error specified.</p>
|
|
213
|
+
<h4>Usage Notes</h4><p>For example, for the following <code>FormGroup</code>:</p>
|
|
214
|
+
<pre><code><span class="hl-3">form</span><span class="hl-1"> = </span><span class="hl-4">new</span><span class="hl-1"> </span><span class="hl-0">FormGroup</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-3">address:</span><span class="hl-1"> </span><span class="hl-4">new</span><span class="hl-1"> </span><span class="hl-0">FormGroup</span><span class="hl-1">({ </span><span class="hl-3">street:</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><br/><span class="hl-1">});</span>
|
|
215
|
+
</code><button>Copy</button></pre>
|
|
216
|
+
<p>The path to the 'street' control from the root form would be 'address' -> 'street'.</p>
|
|
217
|
+
<p>It can be provided to this method in one of two formats:</p>
|
|
218
|
+
<ol>
|
|
219
|
+
<li>An array of string control names, e.g. <code>['address', 'street']</code></li>
|
|
220
|
+
<li>A period-delimited list of control names in one string, e.g. <code>'address.street'</code></li>
|
|
221
|
+
</ol>
|
|
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:670</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
|
+
validator must be a reference to the exact same function that was provided.</p>
|
|
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
|
+
</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
|
+
<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
|
+
</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:334</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
|
+
</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
|
+
and emits events after marking is applied.</p>
|
|
232
|
+
<ul>
|
|
233
|
+
<li><code>emitEvent</code>: When true or not supplied (the default), the <code>events</code>
|
|
234
|
+
observable emits a <code>TouchedChangeEvent</code> with the <code>touched</code> property being <code>true</code>.
|
|
235
|
+
When false, no events are emitted.</li>
|
|
236
|
+
</ul>
|
|
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:390</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
|
+
the control's value is changed through the UI; compare <code>markAsTouched</code>.</p>
|
|
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
|
+
and emits events after marking is applied.</p>
|
|
242
|
+
<ul>
|
|
243
|
+
<li><code>onlySelf</code>: When true, mark only this control. When false or not supplied,
|
|
244
|
+
marks all direct ancestors. Default is false.</li>
|
|
245
|
+
<li><code>emitEvent</code>: When true or not supplied (the default), the <code>events</code>
|
|
246
|
+
observable emits a <code>PristineChangeEvent</code> with the <code>pristine</code> property being <code>false</code>.
|
|
247
|
+
When false, no events are emitted.</li>
|
|
248
|
+
</ul>
|
|
249
|
+
</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><ul>
|
|
250
|
+
<li><a href="AbstractControl.html#markAsTouched" class="tsd-kind-method">()</a></li>
|
|
251
|
+
<li><a href="AbstractControl.html#markAsUntouched" class="tsd-kind-method">()</a></li>
|
|
252
|
+
<li><a href="AbstractControl.html#markAsPristine" class="tsd-kind-method">()</a></li>
|
|
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:431</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
|
+
<p>A control is pending while the control performs async validation.</p>
|
|
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
|
+
emits events after marking is applied.</p>
|
|
258
|
+
<ul>
|
|
259
|
+
<li><code>onlySelf</code>: When true, mark only this control. When false or not supplied,
|
|
260
|
+
marks all direct ancestors. Default is false.</li>
|
|
261
|
+
<li><code>emitEvent</code>: When true or not supplied (the default), the <code>statusChanges</code>
|
|
262
|
+
observable emits an event with the latest status the control is marked pending
|
|
263
|
+
and the <code>events</code> observable emits a <code>StatusChangeEvent</code> with the <code>status</code> property being
|
|
264
|
+
<code>PENDING</code> When false, no events are emitted.</li>
|
|
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-property">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:475</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
|
+
<p>If the control has any children, marks all children as <code>pristine</code>,
|
|
269
|
+
and recalculates the <code>pristine</code> status of all parent
|
|
270
|
+
controls.</p>
|
|
271
|
+
</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 emits events after
|
|
272
|
+
marking is applied.</p>
|
|
273
|
+
<ul>
|
|
274
|
+
<li><code>onlySelf</code>: When true, mark only this control. When false or not supplied,
|
|
275
|
+
marks all direct ancestors. Default is false.</li>
|
|
276
|
+
<li><code>emitEvent</code>: When true or not supplied (the default), the <code>events</code>
|
|
277
|
+
observable emits a <code>PristineChangeEvent</code> with the <code>pristine</code> property being <code>true</code>.
|
|
278
|
+
When false, no events are emitted.</li>
|
|
279
|
+
</ul>
|
|
280
|
+
</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><ul>
|
|
281
|
+
<li><a href="AbstractControl.html#markAsTouched" class="tsd-kind-method">()</a></li>
|
|
282
|
+
<li><a href="AbstractControl.html#markAsUntouched" class="tsd-kind-method">()</a></li>
|
|
283
|
+
<li><a href="AbstractControl.html#markAsDirty" class="tsd-kind-method">()</a></li>
|
|
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:454</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
|
+
blur events that do not change the value.</p>
|
|
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
|
+
and emits events after marking is applied.</p>
|
|
289
|
+
<ul>
|
|
290
|
+
<li><code>onlySelf</code>: When true, mark only this control. When false or not supplied,
|
|
291
|
+
marks all direct ancestors. Default is false.</li>
|
|
292
|
+
<li><code>emitEvent</code>: When true or not supplied (the default), the <code>events</code>
|
|
293
|
+
observable emits a <code>TouchedChangeEvent</code> with the <code>touched</code> property being <code>true</code>.
|
|
294
|
+
When false, no events are emitted.</li>
|
|
295
|
+
</ul>
|
|
296
|
+
</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><ul>
|
|
297
|
+
<li><a href="AbstractControl.html#markAsUntouched" class="tsd-kind-method">()</a></li>
|
|
298
|
+
<li><a href="AbstractControl.html#markAsDirty" class="tsd-kind-method">()</a></li>
|
|
299
|
+
<li><a href="AbstractControl.html#markAsPristine" class="tsd-kind-method">()</a></li>
|
|
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:376</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
|
+
<p>If the control has any children, also marks all children as <code>untouched</code>
|
|
303
|
+
and recalculates the <code>touched</code> status of all parent controls.</p>
|
|
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
|
|
305
|
+
and emits events after the marking is applied.</p>
|
|
306
|
+
<ul>
|
|
307
|
+
<li><code>onlySelf</code>: When true, mark only this control. When false or not supplied,
|
|
308
|
+
marks all direct ancestors. Default is false.</li>
|
|
309
|
+
<li><code>emitEvent</code>: When true or not supplied (the default), the <code>events</code>
|
|
310
|
+
observable emits a <code>TouchedChangeEvent</code> with the <code>touched</code> property being <code>false</code>.
|
|
311
|
+
When false, no events are emitted.</li>
|
|
312
|
+
</ul>
|
|
313
|
+
</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><ul>
|
|
314
|
+
<li><a href="AbstractControl.html#markAsTouched" class="tsd-kind-method">()</a></li>
|
|
315
|
+
<li><a href="AbstractControl.html#markAsDirty" class="tsd-kind-method">()</a></li>
|
|
316
|
+
<li><a href="AbstractControl.html#markAsPristine" class="tsd-kind-method">()</a></li>
|
|
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:411</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:536</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
|
+
Validators are compared by function reference; you must pass a reference to the exact same
|
|
321
|
+
validator function as the one that was originally set. If a provided validator is not found, it
|
|
322
|
+
is ignored.</p>
|
|
323
|
+
<p>When you add or remove a validator at run time, you must call
|
|
324
|
+
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
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:310</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
|
+
Validators are compared by function reference; you must pass a reference to the exact same
|
|
328
|
+
validator function as the one that was originally set. If a provided validator is not found,
|
|
329
|
+
it is ignored.</p>
|
|
330
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">validators</span>: <span class="tsd-signature-type">ValidatorFn</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">ValidatorFn</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The validator or validators to remove.</p>
|
|
331
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><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">string</span><span class="hl-1"> | </span><span class="hl-9">null</span><span class="hl-1">>(</span><span class="hl-2">''</span><span class="hl-1">, </span><span class="hl-3">Validators</span><span class="hl-1">.</span><span class="hl-3">required</span><span class="hl-1">);</span><br/><span class="hl-3">ctrl</span><span class="hl-1">.</span><span class="hl-0">removeValidators</span><span class="hl-1">(</span><span class="hl-3">Validators</span><span class="hl-1">.</span><span class="hl-3">required</span><span class="hl-1">);</span><br/><br/><span class="hl-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">string</span><span class="hl-1"> | </span><span class="hl-9">null</span><span class="hl-1">>(</span><span class="hl-2">''</span><span class="hl-1">, </span><span class="hl-3">minValidator</span><span class="hl-1">);</span><br/><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-3">ctrl</span><span class="hl-1">.</span><span class="hl-0">hasValidator</span><span class="hl-1">(</span><span class="hl-3">minValidator</span><span class="hl-1">)).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-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><br/><br/><span class="hl-3">ctrl</span><span class="hl-1">.</span><span class="hl-0">removeValidators</span><span class="hl-1">(</span><span class="hl-3">minValidator</span><span class="hl-1">);</span>
|
|
332
|
+
</code><button>Copy</button></pre>
|
|
333
|
+
<p>When you add or remove a validator at run time, you must call
|
|
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:298</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:540</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
|
+
overwrites any existing asynchronous validators.</p>
|
|
338
|
+
<p>When you add or remove a validator at run time, you must call
|
|
339
|
+
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
340
|
+
<p>If you want to add a new validator without affecting existing ones, consider
|
|
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">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:243</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
|
+
<p>Calling <code>setErrors</code> also updates the validity of the parent control.</p>
|
|
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">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
|
+
changes and emits events after the control errors are set.</p>
|
|
346
|
+
<ul>
|
|
347
|
+
<li><code>emitEvent</code>: When true or not supplied (the default), the <code>statusChanges</code>
|
|
348
|
+
observable emits an event after the errors are set.</li>
|
|
349
|
+
</ul>
|
|
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
|
+
</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:596</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
|
+
</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">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:528</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
|
+
this overwrites any existing synchronous validators.</p>
|
|
356
|
+
<p>When you add or remove a validator at run time, you must call
|
|
357
|
+
<code>updateValueAndValidity()</code> for the new validation to take effect.</p>
|
|
358
|
+
<p>If you want to add a new validator without affecting existing ones, consider
|
|
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">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:232</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:532</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
|
+
<p>By default, it also updates the value and validity of its ancestors.</p>
|
|
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
|
+
after updates and validity checks are applied.</p>
|
|
365
|
+
<ul>
|
|
366
|
+
<li><code>onlySelf</code>: When true, only update this control. When false or not supplied,
|
|
367
|
+
update all direct ancestors. Default is false.</li>
|
|
368
|
+
<li><code>emitEvent</code>: When true or not supplied (the default), the <code>statusChanges</code>,
|
|
369
|
+
<code>valueChanges</code> and <code>events</code>
|
|
370
|
+
observables emit events with the latest status and value when the control is updated.
|
|
371
|
+
When false, no events are emitted.</li>
|
|
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>
|