@rxap/forms 19.0.1-dev.4 → 19.0.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.
Files changed (555) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +24 -25
  3. package/compodoc/changelog.html +9 -0
  4. package/compodoc/dependencies.html +8 -8
  5. package/compodoc/index.html +26 -17
  6. package/compodoc/js/search/search_index.js +2 -2
  7. package/compodoc/miscellaneous/variables.html +26 -0
  8. package/compodoc/properties.html +4 -1
  9. package/docs/documentation.json +13986 -15658
  10. package/docs/html/assets/hierarchy.js +1 -0
  11. package/docs/{assets → html/assets}/highlight.css +27 -20
  12. package/docs/html/assets/icons.js +18 -0
  13. package/docs/html/assets/icons.svg +1 -0
  14. package/docs/{assets → html/assets}/main.js +5 -4
  15. package/docs/html/assets/navigation.js +1 -0
  16. package/docs/html/assets/search.js +1 -0
  17. package/docs/html/assets/style.css +1611 -0
  18. package/docs/html/classes/ControlValueAccessor.html +46 -0
  19. package/docs/html/classes/FormArrayControlManager.html +4 -0
  20. package/docs/html/classes/FormControlErrorDirective.html +14 -0
  21. package/docs/html/classes/FormControlMarkDirtyDirective.html +3 -0
  22. package/docs/html/classes/FormControlMarkPristineDirective.html +3 -0
  23. package/docs/html/classes/FormControlMarkTouchedDirective.html +3 -0
  24. package/docs/html/classes/FormControlMarkUntouchedDirective.html +3 -0
  25. package/docs/html/classes/FormControlNameDirective.html +122 -0
  26. package/docs/html/classes/FormDirective.html +198 -0
  27. package/docs/html/classes/FormGroupNameDirective.html +110 -0
  28. package/docs/html/classes/FormLoadedDirective.html +9 -0
  29. package/docs/html/classes/FormLoadingDirective.html +9 -0
  30. package/docs/html/classes/FormLoadingErrorDirective.html +9 -0
  31. package/docs/html/classes/FormResetDirective.html +7 -0
  32. package/docs/html/classes/FormSubmitDirective.html +13 -0
  33. package/docs/html/classes/FormSubmitFailedDirective.html +9 -0
  34. package/docs/html/classes/FormSubmitInvalidDirective.html +9 -0
  35. package/docs/html/classes/FormSubmitSuccessfulDirective.html +9 -0
  36. package/docs/html/classes/FormSubmittingDirective.html +9 -0
  37. package/docs/html/classes/ParentControlContainerDirective.html +2 -0
  38. package/docs/html/classes/RxapFormArray.html +528 -0
  39. package/docs/html/classes/RxapFormBuilder.html +3 -0
  40. package/docs/html/classes/RxapFormControl.html +453 -0
  41. package/docs/html/classes/RxapFormGroup.html +499 -0
  42. package/docs/html/classes/RxapFormsModule.html +2 -0
  43. package/docs/html/enums/MetadataKeys.html +9 -0
  44. package/docs/html/functions/ControlAsyncValidator.html +1 -0
  45. package/docs/html/functions/ControlChange.html +1 -0
  46. package/docs/html/functions/ControlSetValue.html +1 -0
  47. package/docs/html/functions/ControlValidator.html +1 -0
  48. package/docs/html/functions/IsArray.html +1 -0
  49. package/docs/html/functions/IsBoolean.html +1 -0
  50. package/docs/html/functions/IsComplex.html +1 -0
  51. package/docs/html/functions/IsDate.html +1 -0
  52. package/docs/html/functions/IsEmail.html +1 -0
  53. package/docs/html/functions/IsEnum.html +1 -0
  54. package/docs/html/functions/IsIP.html +1 -0
  55. package/docs/html/functions/IsInt.html +1 -0
  56. package/docs/html/functions/IsNumber-1.html +2 -0
  57. package/docs/html/functions/IsObject.html +1 -0
  58. package/docs/html/functions/IsPhoneNumber.html +1 -0
  59. package/docs/html/functions/IsPort.html +1 -0
  60. package/docs/html/functions/IsString.html +1 -0
  61. package/docs/html/functions/IsUUID.html +1 -0
  62. package/docs/html/functions/IsUrl.html +1 -0
  63. package/docs/html/functions/RxapForm.html +1 -0
  64. package/docs/html/functions/ToFormMethod.html +1 -0
  65. package/docs/html/functions/ToFormSubmitMethod.html +3 -0
  66. package/docs/html/functions/ToMethodWithInjectionContext.html +1 -0
  67. package/docs/html/functions/ToMethodWithInjectionContextFactory.html +1 -0
  68. package/docs/html/functions/UseFormArrayControl.html +1 -0
  69. package/docs/html/functions/UseFormArrayGroup.html +1 -0
  70. package/docs/html/functions/UseFormControl.html +1 -0
  71. package/docs/html/functions/UseFormGroup.html +1 -0
  72. package/docs/html/functions/_IsNumber.html +1 -0
  73. package/docs/html/functions/controlDisabledWhile.html +1 -0
  74. package/docs/html/functions/controlDisabled_.html +1 -0
  75. package/docs/html/functions/controlEnabledWhile.html +1 -0
  76. package/docs/html/functions/controlEnabled_.html +1 -0
  77. package/docs/html/functions/controlErrorChanges_.html +1 -0
  78. package/docs/html/functions/controlReadonly_.html +1 -0
  79. package/docs/html/functions/controlStatusChanges_.html +1 -0
  80. package/docs/html/functions/controlValueChanges_.html +1 -0
  81. package/docs/html/functions/disableControl.html +1 -0
  82. package/docs/html/functions/enableControl.html +1 -0
  83. package/docs/html/functions/hasErrorAndDirty.html +1 -0
  84. package/docs/html/functions/hasErrorAndTouched.html +1 -0
  85. package/docs/html/functions/isNumber.html +2 -0
  86. package/docs/html/functions/markAllDirty.html +1 -0
  87. package/docs/html/functions/markAllPristine.html +1 -0
  88. package/docs/html/functions/markAllUntouched.html +1 -0
  89. package/docs/html/functions/mergeControlValidators.html +1 -0
  90. package/docs/html/functions/selectControlValue_.html +1 -0
  91. package/docs/html/functions/validateControlOn.html +1 -0
  92. package/docs/html/hierarchy.html +1 -0
  93. package/docs/html/index.html +33 -0
  94. package/docs/html/interfaces/AbstractControl.html +387 -0
  95. package/docs/html/interfaces/AbstractControlOptions.html +7 -0
  96. package/docs/html/interfaces/BoxedValue.html +3 -0
  97. package/docs/html/interfaces/ComplexityOptions.html +11 -0
  98. package/docs/html/interfaces/ControlOptions.html +20 -0
  99. package/docs/html/interfaces/ControlSetValueOptions.html +3 -0
  100. package/docs/html/interfaces/FormArrayOptions.html +16 -0
  101. package/docs/html/interfaces/FormDefinition.html +13 -0
  102. package/docs/html/interfaces/FormDefinitionArray.html +176 -0
  103. package/docs/html/interfaces/FormDefinitionMetadata.html +17 -0
  104. package/docs/html/interfaces/FormGroupOptions.html +13 -0
  105. package/docs/html/interfaces/FormLoadFailedMethod.html +3 -0
  106. package/docs/html/interfaces/FormLoadMethod.html +3 -0
  107. package/docs/html/interfaces/FormLoadSuccessfulMethod.html +3 -0
  108. package/docs/html/interfaces/FormOptions.html +13 -0
  109. package/docs/html/interfaces/FormSubmitFailedMethod.html +3 -0
  110. package/docs/html/interfaces/FormSubmitMethod.html +3 -0
  111. package/docs/html/interfaces/FormSubmitSuccessfulMethod.html +3 -0
  112. package/docs/html/interfaces/InjectableValidator.html +3 -0
  113. package/docs/html/interfaces/IsNumberOptions.html +6 -0
  114. package/docs/html/interfaces/NgValidatorsErrors.html +8 -0
  115. package/docs/html/interfaces/RxapAbstractControlOptionsWithDefinition.html +13 -0
  116. package/docs/html/interfaces/_RxapAbstractControlOptions.html +12 -0
  117. package/docs/html/modules.html +1 -0
  118. package/docs/html/types/AsyncValidator.html +1 -0
  119. package/docs/html/types/AsyncValidatorFn.html +1 -0
  120. package/docs/html/types/ChangeFn.html +1 -0
  121. package/docs/html/types/ControlEventOptions.html +1 -0
  122. package/docs/html/types/ControlInsertedFn.html +1 -0
  123. package/docs/html/types/ControlPath.html +1 -0
  124. package/docs/html/types/ControlRemovedFn.html +1 -0
  125. package/docs/html/types/ControlState.html +1 -0
  126. package/docs/html/types/EmitEvent.html +1 -0
  127. package/docs/html/types/ExtractAbstractControl.html +1 -0
  128. package/docs/html/types/ExtractStrings.html +1 -0
  129. package/docs/html/types/FormBuilderFn.html +1 -0
  130. package/docs/html/types/FormType.html +1 -0
  131. package/docs/html/types/KeyValueControls.html +1 -0
  132. package/docs/html/types/OnlySelf.html +1 -0
  133. package/docs/html/types/OrBoxedValue.html +1 -0
  134. package/docs/html/types/RxapAbstractControlOptions.html +1 -0
  135. package/docs/html/types/SetValueFn.html +1 -0
  136. package/docs/html/types/ValidationErrors.html +1 -0
  137. package/docs/html/types/Validator.html +1 -0
  138. package/docs/html/types/ValidatorFn.html +1 -0
  139. package/docs/html/types/ValidatorOrOpts.html +1 -0
  140. package/docs/html/variables/RXAP_FORM_CONTEXT.html +1 -0
  141. package/docs/html/variables/RXAP_FORM_DEFINITION.html +1 -0
  142. package/docs/html/variables/RXAP_FORM_DEFINITION_BUILDER.html +1 -0
  143. package/docs/html/variables/RXAP_FORM_INITIAL_STATE.html +1 -0
  144. package/docs/html/variables/RXAP_FORM_LOAD_FAILED_METHOD.html +1 -0
  145. package/docs/html/variables/RXAP_FORM_LOAD_METHOD.html +1 -0
  146. package/docs/html/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.html +1 -0
  147. package/docs/html/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.html +1 -0
  148. package/docs/html/variables/RXAP_FORM_SUBMIT_METHOD.html +1 -0
  149. package/docs/html/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.html +1 -0
  150. package/docs/html/variables/RxapValidators.html +1 -0
  151. package/docs/markdown/README.md +37 -0
  152. package/docs/markdown/classes/ControlValueAccessor.md +230 -0
  153. package/docs/markdown/classes/FormArrayControlManager.md +75 -0
  154. package/docs/markdown/classes/FormControlErrorDirective.md +101 -0
  155. package/docs/markdown/classes/FormControlMarkDirtyDirective.md +39 -0
  156. package/docs/markdown/classes/FormControlMarkPristineDirective.md +39 -0
  157. package/docs/markdown/classes/FormControlMarkTouchedDirective.md +39 -0
  158. package/docs/markdown/classes/FormControlMarkUntouchedDirective.md +39 -0
  159. package/docs/markdown/classes/FormControlNameDirective.md +816 -0
  160. package/docs/markdown/classes/FormDirective.md +1596 -0
  161. package/docs/markdown/classes/FormGroupNameDirective.md +707 -0
  162. package/docs/markdown/classes/FormLoadedDirective.md +79 -0
  163. package/docs/markdown/classes/FormLoadingDirective.md +79 -0
  164. package/docs/markdown/classes/FormLoadingErrorDirective.md +79 -0
  165. package/docs/markdown/classes/FormResetDirective.md +115 -0
  166. package/docs/markdown/classes/FormSubmitDirective.md +178 -0
  167. package/docs/markdown/classes/FormSubmitFailedDirective.md +79 -0
  168. package/docs/markdown/classes/FormSubmitInvalidDirective.md +79 -0
  169. package/docs/markdown/classes/FormSubmitSuccessfulDirective.md +79 -0
  170. package/docs/markdown/classes/FormSubmittingDirective.md +79 -0
  171. package/docs/markdown/classes/ParentControlContainerDirective.md +19 -0
  172. package/docs/markdown/classes/RxapFormArray.md +2645 -0
  173. package/docs/markdown/classes/RxapFormBuilder.md +67 -0
  174. package/docs/markdown/classes/RxapFormControl.md +2204 -0
  175. package/docs/markdown/classes/RxapFormGroup.md +3002 -0
  176. package/docs/markdown/classes/RxapFormsModule.md +19 -0
  177. package/docs/markdown/enumerations/MetadataKeys.md +73 -0
  178. package/docs/markdown/functions/ControlAsyncValidator.md +35 -0
  179. package/docs/markdown/functions/ControlChange.md +35 -0
  180. package/docs/markdown/functions/ControlSetValue.md +39 -0
  181. package/docs/markdown/functions/ControlValidator.md +35 -0
  182. package/docs/markdown/functions/IsArray.md +33 -0
  183. package/docs/markdown/functions/IsBoolean.md +33 -0
  184. package/docs/markdown/functions/IsComplex.md +37 -0
  185. package/docs/markdown/functions/IsDate.md +33 -0
  186. package/docs/markdown/functions/IsEmail.md +37 -0
  187. package/docs/markdown/functions/IsEnum.md +37 -0
  188. package/docs/markdown/functions/IsIP.md +37 -0
  189. package/docs/markdown/functions/IsInt.md +37 -0
  190. package/docs/markdown/functions/IsNumber-2.md +25 -0
  191. package/docs/markdown/functions/IsNumber.md +37 -0
  192. package/docs/markdown/functions/IsObject.md +33 -0
  193. package/docs/markdown/functions/IsPhoneNumber.md +41 -0
  194. package/docs/markdown/functions/IsPort.md +33 -0
  195. package/docs/markdown/functions/IsString.md +33 -0
  196. package/docs/markdown/functions/IsUUID.md +37 -0
  197. package/docs/markdown/functions/IsUrl.md +37 -0
  198. package/docs/markdown/functions/RxapForm.md +39 -0
  199. package/docs/markdown/functions/ToFormMethod.md +31 -0
  200. package/docs/markdown/functions/ToFormSubmitMethod.md +31 -0
  201. package/docs/markdown/functions/ToMethodWithInjectionContext.md +37 -0
  202. package/docs/markdown/functions/ToMethodWithInjectionContextFactory.md +43 -0
  203. package/docs/markdown/functions/UseFormArrayControl.md +35 -0
  204. package/docs/markdown/functions/UseFormArrayGroup.md +39 -0
  205. package/docs/markdown/functions/UseFormControl.md +35 -0
  206. package/docs/markdown/functions/UseFormGroup.md +39 -0
  207. package/docs/markdown/functions/controlDisabled$.md +25 -0
  208. package/docs/markdown/functions/controlDisabledWhile.md +33 -0
  209. package/docs/markdown/functions/controlEnabled$.md +25 -0
  210. package/docs/markdown/functions/controlEnabledWhile.md +33 -0
  211. package/docs/markdown/functions/controlErrorChanges$.md +25 -0
  212. package/docs/markdown/functions/controlReadonly$.md +25 -0
  213. package/docs/markdown/functions/controlStatusChanges$.md +25 -0
  214. package/docs/markdown/functions/controlValueChanges$.md +25 -0
  215. package/docs/markdown/functions/disableControl.md +33 -0
  216. package/docs/markdown/functions/enableControl.md +33 -0
  217. package/docs/markdown/functions/hasErrorAndDirty.md +33 -0
  218. package/docs/markdown/functions/hasErrorAndTouched.md +33 -0
  219. package/docs/markdown/functions/isNumber-1.md +27 -0
  220. package/docs/markdown/functions/markAllDirty.md +25 -0
  221. package/docs/markdown/functions/markAllPristine.md +25 -0
  222. package/docs/markdown/functions/markAllUntouched.md +25 -0
  223. package/docs/markdown/functions/mergeControlValidators.md +31 -0
  224. package/docs/markdown/functions/selectControlValue$.md +31 -0
  225. package/docs/markdown/functions/validateControlOn.md +29 -0
  226. package/docs/markdown/globals.md +153 -0
  227. package/docs/markdown/interfaces/AbstractControl.md +1691 -0
  228. package/docs/markdown/interfaces/AbstractControlOptions.md +67 -0
  229. package/docs/markdown/interfaces/BoxedValue.md +29 -0
  230. package/docs/markdown/interfaces/ComplexityOptions.md +89 -0
  231. package/docs/markdown/interfaces/ControlOptions.md +85 -0
  232. package/docs/markdown/interfaces/ControlSetValueOptions.md +25 -0
  233. package/docs/markdown/interfaces/FormArrayOptions.md +157 -0
  234. package/docs/markdown/interfaces/FormDefinition.md +80 -0
  235. package/docs/markdown/interfaces/FormDefinitionArray.md +1443 -0
  236. package/docs/markdown/interfaces/FormDefinitionMetadata.md +156 -0
  237. package/docs/markdown/interfaces/FormGroupOptions.md +133 -0
  238. package/docs/markdown/interfaces/FormLoadFailedMethod.md +47 -0
  239. package/docs/markdown/interfaces/FormLoadMethod.md +45 -0
  240. package/docs/markdown/interfaces/FormLoadSuccessfulMethod.md +51 -0
  241. package/docs/markdown/interfaces/FormOptions.md +137 -0
  242. package/docs/markdown/interfaces/FormSubmitFailedMethod.md +47 -0
  243. package/docs/markdown/interfaces/FormSubmitMethod.md +55 -0
  244. package/docs/markdown/interfaces/FormSubmitSuccessfulMethod.md +51 -0
  245. package/docs/markdown/interfaces/InjectableValidator.md +25 -0
  246. package/docs/markdown/interfaces/IsNumberOptions.md +43 -0
  247. package/docs/markdown/interfaces/NgValidatorsErrors.md +105 -0
  248. package/docs/markdown/interfaces/RxapAbstractControlOptions.md +103 -0
  249. package/docs/markdown/interfaces/RxapAbstractControlOptionsWithDefinition.md +133 -0
  250. package/docs/markdown/type-aliases/AsyncValidator.md +11 -0
  251. package/docs/markdown/type-aliases/AsyncValidatorFn.md +27 -0
  252. package/docs/markdown/type-aliases/ChangeFn.md +29 -0
  253. package/docs/markdown/type-aliases/ControlEventOptions.md +11 -0
  254. package/docs/markdown/type-aliases/ControlInsertedFn.md +25 -0
  255. package/docs/markdown/type-aliases/ControlPath.md +11 -0
  256. package/docs/markdown/type-aliases/ControlRemovedFn.md +21 -0
  257. package/docs/markdown/type-aliases/ControlState.md +11 -0
  258. package/docs/markdown/type-aliases/EmitEvent.md +11 -0
  259. package/docs/markdown/type-aliases/ExtractAbstractControl.md +17 -0
  260. package/docs/markdown/type-aliases/ExtractStrings.md +15 -0
  261. package/docs/markdown/type-aliases/FormBuilderFn.md +33 -0
  262. package/docs/markdown/type-aliases/FormType.md +15 -0
  263. package/docs/markdown/type-aliases/KeyValueControls.md +15 -0
  264. package/docs/markdown/type-aliases/OnlySelf.md +11 -0
  265. package/docs/markdown/type-aliases/OrBoxedValue.md +15 -0
  266. package/docs/markdown/type-aliases/RxapAbstractControlOptions.md +15 -0
  267. package/docs/markdown/type-aliases/SetValueFn.md +29 -0
  268. package/docs/markdown/type-aliases/ValidationErrors.md +15 -0
  269. package/docs/markdown/type-aliases/Validator.md +11 -0
  270. package/docs/markdown/type-aliases/ValidatorFn.md +27 -0
  271. package/docs/markdown/type-aliases/ValidatorOrOpts.md +11 -0
  272. package/docs/markdown/variables/RXAP_FORM_CONTEXT.md +11 -0
  273. package/docs/markdown/variables/RXAP_FORM_DEFINITION.md +11 -0
  274. package/docs/markdown/variables/RXAP_FORM_DEFINITION_BUILDER.md +11 -0
  275. package/docs/markdown/variables/RXAP_FORM_INITIAL_STATE.md +11 -0
  276. package/docs/markdown/variables/RXAP_FORM_LOAD_FAILED_METHOD.md +11 -0
  277. package/docs/markdown/variables/RXAP_FORM_LOAD_METHOD.md +11 -0
  278. package/docs/markdown/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +11 -0
  279. package/docs/markdown/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.md +11 -0
  280. package/docs/markdown/variables/RXAP_FORM_SUBMIT_METHOD.md +11 -0
  281. package/docs/markdown/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +11 -0
  282. package/docs/markdown/variables/RxapValidators.md +443 -0
  283. package/docs/wiki/Class.ControlValueAccessor.md +226 -0
  284. package/docs/wiki/Class.FormArrayControlManager.md +71 -0
  285. package/docs/wiki/Class.FormControlErrorDirective.md +97 -0
  286. package/docs/wiki/Class.FormControlMarkDirtyDirective.md +35 -0
  287. package/docs/wiki/Class.FormControlMarkPristineDirective.md +35 -0
  288. package/docs/wiki/Class.FormControlMarkTouchedDirective.md +35 -0
  289. package/docs/wiki/Class.FormControlMarkUntouchedDirective.md +35 -0
  290. package/docs/wiki/Class.FormControlNameDirective.md +812 -0
  291. package/docs/wiki/Class.FormDirective.md +1592 -0
  292. package/docs/wiki/Class.FormGroupNameDirective.md +703 -0
  293. package/docs/wiki/Class.FormLoadedDirective.md +75 -0
  294. package/docs/wiki/Class.FormLoadingDirective.md +75 -0
  295. package/docs/wiki/Class.FormLoadingErrorDirective.md +75 -0
  296. package/docs/wiki/Class.FormResetDirective.md +111 -0
  297. package/docs/wiki/Class.FormSubmitDirective.md +174 -0
  298. package/docs/wiki/Class.FormSubmitFailedDirective.md +75 -0
  299. package/docs/wiki/Class.FormSubmitInvalidDirective.md +75 -0
  300. package/docs/wiki/Class.FormSubmitSuccessfulDirective.md +75 -0
  301. package/docs/wiki/Class.FormSubmittingDirective.md +75 -0
  302. package/docs/wiki/Class.ParentControlContainerDirective.md +15 -0
  303. package/docs/wiki/Class.RxapFormArray.md +2641 -0
  304. package/docs/wiki/Class.RxapFormBuilder.md +63 -0
  305. package/docs/wiki/Class.RxapFormControl.md +2200 -0
  306. package/docs/wiki/Class.RxapFormGroup.md +2998 -0
  307. package/docs/wiki/Class.RxapFormsModule.md +15 -0
  308. package/docs/wiki/Enumeration.MetadataKeys.md +69 -0
  309. package/docs/wiki/Function.ControlAsyncValidator.md +31 -0
  310. package/docs/wiki/Function.ControlChange.md +31 -0
  311. package/docs/wiki/Function.ControlSetValue.md +35 -0
  312. package/docs/wiki/Function.ControlValidator.md +31 -0
  313. package/docs/wiki/Function.IsArray.md +29 -0
  314. package/docs/wiki/Function.IsBoolean.md +29 -0
  315. package/docs/wiki/Function.IsComplex.md +33 -0
  316. package/docs/wiki/Function.IsDate.md +29 -0
  317. package/docs/wiki/Function.IsEmail.md +33 -0
  318. package/docs/wiki/Function.IsEnum.md +33 -0
  319. package/docs/wiki/Function.IsIP.md +33 -0
  320. package/docs/wiki/Function.IsInt.md +33 -0
  321. package/docs/wiki/Function.IsNumber.md +21 -0
  322. package/docs/wiki/Function.IsObject.md +29 -0
  323. package/docs/wiki/Function.IsPhoneNumber.md +37 -0
  324. package/docs/wiki/Function.IsPort.md +29 -0
  325. package/docs/wiki/Function.IsString.md +29 -0
  326. package/docs/wiki/Function.IsUUID.md +33 -0
  327. package/docs/wiki/Function.IsUrl.md +33 -0
  328. package/docs/wiki/Function.RxapForm.md +35 -0
  329. package/docs/wiki/Function.ToFormMethod.md +27 -0
  330. package/docs/wiki/Function.ToFormSubmitMethod.md +27 -0
  331. package/docs/wiki/Function.ToMethodWithInjectionContext.md +33 -0
  332. package/docs/wiki/Function.ToMethodWithInjectionContextFactory.md +39 -0
  333. package/docs/wiki/Function.UseFormArrayControl.md +31 -0
  334. package/docs/wiki/Function.UseFormArrayGroup.md +35 -0
  335. package/docs/wiki/Function.UseFormControl.md +31 -0
  336. package/docs/wiki/Function.UseFormGroup.md +35 -0
  337. package/docs/wiki/Function._IsNumber.md +33 -0
  338. package/docs/wiki/Function.controlDisabled$.md +21 -0
  339. package/docs/wiki/Function.controlDisabledWhile.md +29 -0
  340. package/docs/wiki/Function.controlEnabled$.md +21 -0
  341. package/docs/wiki/Function.controlEnabledWhile.md +29 -0
  342. package/docs/wiki/Function.controlErrorChanges$.md +21 -0
  343. package/docs/wiki/Function.controlReadonly$.md +21 -0
  344. package/docs/wiki/Function.controlStatusChanges$.md +21 -0
  345. package/docs/wiki/Function.controlValueChanges$.md +21 -0
  346. package/docs/wiki/Function.disableControl.md +29 -0
  347. package/docs/wiki/Function.enableControl.md +29 -0
  348. package/docs/wiki/Function.hasErrorAndDirty.md +29 -0
  349. package/docs/wiki/Function.hasErrorAndTouched.md +29 -0
  350. package/docs/wiki/Function.isNumber.md +23 -0
  351. package/docs/wiki/Function.markAllDirty.md +21 -0
  352. package/docs/wiki/Function.markAllPristine.md +21 -0
  353. package/docs/wiki/Function.markAllUntouched.md +21 -0
  354. package/docs/wiki/Function.mergeControlValidators.md +27 -0
  355. package/docs/wiki/Function.selectControlValue$.md +27 -0
  356. package/docs/wiki/Function.validateControlOn.md +25 -0
  357. package/docs/wiki/Home.md +33 -0
  358. package/docs/wiki/Interface.AbstractControl.md +1687 -0
  359. package/docs/wiki/Interface.AbstractControlOptions.md +63 -0
  360. package/docs/wiki/Interface.BoxedValue.md +25 -0
  361. package/docs/wiki/Interface.ComplexityOptions.md +85 -0
  362. package/docs/wiki/Interface.ControlOptions.md +81 -0
  363. package/docs/wiki/Interface.ControlSetValueOptions.md +21 -0
  364. package/docs/wiki/Interface.FormArrayOptions.md +153 -0
  365. package/docs/wiki/Interface.FormDefinition.md +76 -0
  366. package/docs/wiki/Interface.FormDefinitionArray.md +1439 -0
  367. package/docs/wiki/Interface.FormDefinitionMetadata.md +152 -0
  368. package/docs/wiki/Interface.FormGroupOptions.md +129 -0
  369. package/docs/wiki/Interface.FormLoadFailedMethod.md +43 -0
  370. package/docs/wiki/Interface.FormLoadMethod.md +41 -0
  371. package/docs/wiki/Interface.FormLoadSuccessfulMethod.md +47 -0
  372. package/docs/wiki/Interface.FormOptions.md +133 -0
  373. package/docs/wiki/Interface.FormSubmitFailedMethod.md +43 -0
  374. package/docs/wiki/Interface.FormSubmitMethod.md +51 -0
  375. package/docs/wiki/Interface.FormSubmitSuccessfulMethod.md +47 -0
  376. package/docs/wiki/Interface.InjectableValidator.md +21 -0
  377. package/docs/wiki/Interface.IsNumberOptions.md +39 -0
  378. package/docs/wiki/Interface.NgValidatorsErrors.md +101 -0
  379. package/docs/wiki/Interface.RxapAbstractControlOptionsWithDefinition.md +129 -0
  380. package/docs/wiki/Interface._RxapAbstractControlOptions.md +99 -0
  381. package/docs/wiki/TypeAlias.AsyncValidator.md +7 -0
  382. package/docs/wiki/TypeAlias.AsyncValidatorFn.md +23 -0
  383. package/docs/wiki/TypeAlias.ChangeFn.md +25 -0
  384. package/docs/wiki/TypeAlias.ControlEventOptions.md +7 -0
  385. package/docs/wiki/TypeAlias.ControlInsertedFn.md +21 -0
  386. package/docs/wiki/TypeAlias.ControlPath.md +7 -0
  387. package/docs/wiki/TypeAlias.ControlRemovedFn.md +17 -0
  388. package/docs/wiki/TypeAlias.ControlState.md +7 -0
  389. package/docs/wiki/TypeAlias.EmitEvent.md +7 -0
  390. package/docs/wiki/TypeAlias.ExtractAbstractControl.md +13 -0
  391. package/docs/wiki/TypeAlias.ExtractStrings.md +11 -0
  392. package/docs/wiki/TypeAlias.FormBuilderFn.md +29 -0
  393. package/docs/wiki/TypeAlias.FormType.md +11 -0
  394. package/docs/wiki/TypeAlias.KeyValueControls.md +11 -0
  395. package/docs/wiki/TypeAlias.OnlySelf.md +7 -0
  396. package/docs/wiki/TypeAlias.OrBoxedValue.md +11 -0
  397. package/docs/wiki/TypeAlias.RxapAbstractControlOptions.md +11 -0
  398. package/docs/wiki/TypeAlias.SetValueFn.md +25 -0
  399. package/docs/wiki/TypeAlias.ValidationErrors.md +11 -0
  400. package/docs/wiki/TypeAlias.Validator.md +7 -0
  401. package/docs/wiki/TypeAlias.ValidatorFn.md +23 -0
  402. package/docs/wiki/TypeAlias.ValidatorOrOpts.md +7 -0
  403. package/docs/wiki/Variable.RXAP_FORM_CONTEXT.md +7 -0
  404. package/docs/wiki/Variable.RXAP_FORM_DEFINITION.md +7 -0
  405. package/docs/wiki/Variable.RXAP_FORM_DEFINITION_BUILDER.md +7 -0
  406. package/docs/wiki/Variable.RXAP_FORM_INITIAL_STATE.md +7 -0
  407. package/docs/wiki/Variable.RXAP_FORM_LOAD_FAILED_METHOD.md +7 -0
  408. package/docs/wiki/Variable.RXAP_FORM_LOAD_METHOD.md +7 -0
  409. package/docs/wiki/Variable.RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +7 -0
  410. package/docs/wiki/Variable.RXAP_FORM_SUBMIT_FAILED_METHOD.md +7 -0
  411. package/docs/wiki/Variable.RXAP_FORM_SUBMIT_METHOD.md +7 -0
  412. package/docs/wiki/Variable.RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +7 -0
  413. package/docs/wiki/Variable.RxapValidators.md +439 -0
  414. package/docs/wiki/_Sidebar.md +149 -0
  415. package/docs/wiki/globals.md +149 -0
  416. package/package.json +20 -18
  417. package/docs/assets/icons.js +0 -15
  418. package/docs/assets/icons.svg +0 -1
  419. package/docs/assets/navigation.js +0 -1
  420. package/docs/assets/search.js +0 -1
  421. package/docs/assets/style.css +0 -1412
  422. package/docs/classes/ControlValueAccessor.html +0 -8
  423. package/docs/classes/FormArrayControlManager.html +0 -6
  424. package/docs/classes/FormControlErrorDirective.html +0 -11
  425. package/docs/classes/FormControlMarkDirtyDirective.html +0 -4
  426. package/docs/classes/FormControlMarkPristineDirective.html +0 -4
  427. package/docs/classes/FormControlMarkTouchedDirective.html +0 -4
  428. package/docs/classes/FormControlMarkUntouchedDirective.html +0 -4
  429. package/docs/classes/FormControlNameDirective.html +0 -113
  430. package/docs/classes/FormDirective.html +0 -188
  431. package/docs/classes/FormGroupNameDirective.html +0 -101
  432. package/docs/classes/FormLoadedDirective.html +0 -8
  433. package/docs/classes/FormLoadingDirective.html +0 -8
  434. package/docs/classes/FormLoadingErrorDirective.html +0 -8
  435. package/docs/classes/FormResetDirective.html +0 -8
  436. package/docs/classes/FormSubmitDirective.html +0 -15
  437. package/docs/classes/FormSubmitFailedDirective.html +0 -8
  438. package/docs/classes/FormSubmitInvalidDirective.html +0 -8
  439. package/docs/classes/FormSubmitSuccessfulDirective.html +0 -8
  440. package/docs/classes/FormSubmittingDirective.html +0 -8
  441. package/docs/classes/ParentControlContainerDirective.html +0 -2
  442. package/docs/classes/RxapFormArray.html +0 -425
  443. package/docs/classes/RxapFormBuilder.html +0 -65
  444. package/docs/classes/RxapFormControl.html +0 -264
  445. package/docs/classes/RxapFormGroup.html +0 -260
  446. package/docs/classes/RxapFormsModule.html +0 -2
  447. package/docs/enums/MetadataKeys.html +0 -9
  448. package/docs/functions/ControlAsyncValidator.html +0 -1
  449. package/docs/functions/ControlChange.html +0 -1
  450. package/docs/functions/ControlSetValue.html +0 -1
  451. package/docs/functions/ControlValidator.html +0 -1
  452. package/docs/functions/IsArray.html +0 -1
  453. package/docs/functions/IsBoolean.html +0 -1
  454. package/docs/functions/IsComplex.html +0 -1
  455. package/docs/functions/IsDate.html +0 -1
  456. package/docs/functions/IsEmail.html +0 -1
  457. package/docs/functions/IsEnum.html +0 -1
  458. package/docs/functions/IsIP.html +0 -1
  459. package/docs/functions/IsInt.html +0 -1
  460. package/docs/functions/IsNumber.html +0 -2
  461. package/docs/functions/IsObject.html +0 -1
  462. package/docs/functions/IsPhoneNumber.html +0 -1
  463. package/docs/functions/IsPort.html +0 -1
  464. package/docs/functions/IsString.html +0 -1
  465. package/docs/functions/IsUUID.html +0 -1
  466. package/docs/functions/IsUrl.html +0 -1
  467. package/docs/functions/RxapForm.html +0 -1
  468. package/docs/functions/ToFormMethod.html +0 -1
  469. package/docs/functions/ToFormSubmitMethod.html +0 -3
  470. package/docs/functions/ToMethodWithInjectionContext.html +0 -1
  471. package/docs/functions/ToMethodWithInjectionContextFactory.html +0 -1
  472. package/docs/functions/UseFormArrayControl.html +0 -1
  473. package/docs/functions/UseFormArrayGroup.html +0 -1
  474. package/docs/functions/UseFormControl.html +0 -1
  475. package/docs/functions/UseFormGroup.html +0 -1
  476. package/docs/functions/_IsNumber.html +0 -1
  477. package/docs/functions/controlDisabledWhile.html +0 -1
  478. package/docs/functions/controlDisabled_.html +0 -1
  479. package/docs/functions/controlEnabledWhile.html +0 -1
  480. package/docs/functions/controlEnabled_.html +0 -1
  481. package/docs/functions/controlErrorChanges_.html +0 -1
  482. package/docs/functions/controlReadonly_.html +0 -1
  483. package/docs/functions/controlStatusChanges_.html +0 -1
  484. package/docs/functions/controlValueChanges_.html +0 -1
  485. package/docs/functions/disableControl.html +0 -1
  486. package/docs/functions/enableControl.html +0 -1
  487. package/docs/functions/hasErrorAndDirty.html +0 -1
  488. package/docs/functions/hasErrorAndTouched.html +0 -1
  489. package/docs/functions/isNumber-1.html +0 -2
  490. package/docs/functions/markAllDirty.html +0 -1
  491. package/docs/functions/markAllPristine.html +0 -1
  492. package/docs/functions/markAllUntouched.html +0 -1
  493. package/docs/functions/mergeControlValidators.html +0 -1
  494. package/docs/functions/selectControlValue_.html +0 -1
  495. package/docs/functions/validateControlOn.html +0 -1
  496. package/docs/hierarchy.html +0 -1
  497. package/docs/index.html +0 -25
  498. package/docs/interfaces/AbstractControl.html +0 -373
  499. package/docs/interfaces/AbstractControlOptions.html +0 -5
  500. package/docs/interfaces/BoxedValue.html +0 -3
  501. package/docs/interfaces/ComplexityOptions.html +0 -11
  502. package/docs/interfaces/ControlOptions.html +0 -20
  503. package/docs/interfaces/ControlSetValueOptions.html +0 -3
  504. package/docs/interfaces/FormArrayOptions.html +0 -16
  505. package/docs/interfaces/FormDefinition.html +0 -13
  506. package/docs/interfaces/FormDefinitionArray.html +0 -175
  507. package/docs/interfaces/FormDefinitionMetadata.html +0 -17
  508. package/docs/interfaces/FormGroupOptions.html +0 -13
  509. package/docs/interfaces/FormLoadFailedMethod.html +0 -3
  510. package/docs/interfaces/FormLoadMethod.html +0 -3
  511. package/docs/interfaces/FormLoadSuccessfulMethod.html +0 -3
  512. package/docs/interfaces/FormOptions.html +0 -13
  513. package/docs/interfaces/FormSubmitFailedMethod.html +0 -3
  514. package/docs/interfaces/FormSubmitMethod.html +0 -3
  515. package/docs/interfaces/FormSubmitSuccessfulMethod.html +0 -3
  516. package/docs/interfaces/InjectableValidator.html +0 -3
  517. package/docs/interfaces/IsNumberOptions.html +0 -6
  518. package/docs/interfaces/NgValidatorsErrors.html +0 -8
  519. package/docs/interfaces/RxapAbstractControlOptionsWithDefinition.html +0 -13
  520. package/docs/interfaces/_RxapAbstractControlOptions.html +0 -12
  521. package/docs/modules.html +0 -131
  522. package/docs/types/AsyncValidator.html +0 -1
  523. package/docs/types/AsyncValidatorFn.html +0 -1
  524. package/docs/types/ChangeFn.html +0 -1
  525. package/docs/types/ControlEventOptions.html +0 -1
  526. package/docs/types/ControlInsertedFn.html +0 -1
  527. package/docs/types/ControlPath.html +0 -1
  528. package/docs/types/ControlRemovedFn.html +0 -1
  529. package/docs/types/ControlState.html +0 -1
  530. package/docs/types/EmitEvent.html +0 -1
  531. package/docs/types/ExtractAbstractControl.html +0 -1
  532. package/docs/types/ExtractStrings.html +0 -1
  533. package/docs/types/FormBuilderFn.html +0 -1
  534. package/docs/types/FormType.html +0 -1
  535. package/docs/types/KeyValueControls.html +0 -1
  536. package/docs/types/OnlySelf.html +0 -1
  537. package/docs/types/OrBoxedValue.html +0 -1
  538. package/docs/types/RxapAbstractControlOptions.html +0 -1
  539. package/docs/types/SetValueFn.html +0 -1
  540. package/docs/types/ValidationErrors.html +0 -1
  541. package/docs/types/Validator.html +0 -1
  542. package/docs/types/ValidatorFn.html +0 -1
  543. package/docs/types/ValidatorOrOpts.html +0 -1
  544. package/docs/variables/RXAP_FORM_CONTEXT.html +0 -1
  545. package/docs/variables/RXAP_FORM_DEFINITION.html +0 -1
  546. package/docs/variables/RXAP_FORM_DEFINITION_BUILDER.html +0 -1
  547. package/docs/variables/RXAP_FORM_INITIAL_STATE.html +0 -1
  548. package/docs/variables/RXAP_FORM_LOAD_FAILED_METHOD.html +0 -1
  549. package/docs/variables/RXAP_FORM_LOAD_METHOD.html +0 -1
  550. package/docs/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.html +0 -1
  551. package/docs/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.html +0 -1
  552. package/docs/variables/RXAP_FORM_SUBMIT_METHOD.html +0 -1
  553. package/docs/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.html +0 -1
  554. package/docs/variables/RxapValidators.html +0 -1
  555. /package/docs/{.nojekyll → html/.nojekyll} +0 -0
@@ -0,0 +1,2204 @@
1
+ [**@rxap/forms**](../README.md)
2
+
3
+ ***
4
+
5
+ [@rxap/forms](../globals.md) / RxapFormControl
6
+
7
+ # Class: RxapFormControl\<T, E, Parent\>
8
+
9
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:44](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L44)
10
+
11
+ ## Extends
12
+
13
+ - `UntypedFormControl`
14
+
15
+ ## Type Parameters
16
+
17
+ • **T** = `any`
18
+
19
+ • **E** *extends* `object` = `any`
20
+
21
+ • **Parent** *extends* `object` = `any`
22
+
23
+ ## Constructors
24
+
25
+ ### new RxapFormControl()
26
+
27
+ > **new RxapFormControl**\<`T`, `E`, `Parent`\>(`formState`, `options`): [`RxapFormControl`](RxapFormControl.md)\<`T`, `E`, `Parent`\>
28
+
29
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:126](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L126)
30
+
31
+ #### Parameters
32
+
33
+ ##### formState
34
+
35
+ [`OrBoxedValue`](../type-aliases/OrBoxedValue.md)\<`T`\>
36
+
37
+ ##### options
38
+
39
+ [`_RxapAbstractControlOptions`](../interfaces/RxapAbstractControlOptions.md) & `Record`\<`string`, `any`\> & `object`
40
+
41
+ #### Returns
42
+
43
+ [`RxapFormControl`](RxapFormControl.md)\<`T`, `E`, `Parent`\>
44
+
45
+ #### Overrides
46
+
47
+ `UntypedFormControl.constructor`
48
+
49
+ ## Properties
50
+
51
+ ### controlId
52
+
53
+ > `readonly` **controlId**: `string`
54
+
55
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:95](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L95)
56
+
57
+ ***
58
+
59
+ ### defaultValue
60
+
61
+ > `readonly` **defaultValue**: `any`
62
+
63
+ Defined in: node\_modules/@angular/forms/index.d.ts:2199
64
+
65
+ The default value of this FormControl, used whenever the control is reset without an explicit
66
+ value. See FormControlOptions#nonNullable for more information on configuring
67
+ a default value.
68
+
69
+ #### Inherited from
70
+
71
+ `UntypedFormControl.defaultValue`
72
+
73
+ ***
74
+
75
+ ### dirty$
76
+
77
+ > `readonly` **dirty$**: `Observable`\<`boolean`\>
78
+
79
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:75](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L75)
80
+
81
+ ***
82
+
83
+ ### disabled$
84
+
85
+ > `readonly` **disabled$**: `Observable`\<`boolean`\>
86
+
87
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:80](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L80)
88
+
89
+ ***
90
+
91
+ ### enabled$
92
+
93
+ > `readonly` **enabled$**: `Observable`\<`boolean`\>
94
+
95
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:81](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L81)
96
+
97
+ ***
98
+
99
+ ### errors
100
+
101
+ > `readonly` **errors**: `null` \| `E`
102
+
103
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:59](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L59)
104
+
105
+ An object containing any errors generated by failing validation,
106
+ or null if there are no errors.
107
+
108
+ #### Overrides
109
+
110
+ `UntypedFormControl.errors`
111
+
112
+ ***
113
+
114
+ ### errors$
115
+
116
+ > `readonly` **errors$**: `Observable`\<`null` \| `E`\>
117
+
118
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:93](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L93)
119
+
120
+ ***
121
+
122
+ ### events
123
+
124
+ > `readonly` **events**: `Observable`\<`ControlEvent`\<`any`\>\>
125
+
126
+ Defined in: node\_modules/@angular/forms/index.d.ts:196
127
+
128
+ A multicasting observable that emits an event every time the state of the control changes.
129
+ It emits for value, status, pristine or touched changes.
130
+
131
+ **Note**: On value change, the emit happens right after a value of this control is updated. The
132
+ value of a parent control (for example if this FormControl is a part of a FormGroup) is updated
133
+ later, so accessing a value of a parent control (using the `value` property) from the callback
134
+ of this event might result in getting a value that has not been updated yet. Subscribe to the
135
+ `events` of the parent control instead.
136
+ For other event types, the events are emitted after the parent control has been updated.
137
+
138
+ #### Inherited from
139
+
140
+ `UntypedFormControl.events`
141
+
142
+ ***
143
+
144
+ ### initialState
145
+
146
+ > `readonly` **initialState**: [`OrBoxedValue`](../type-aliases/OrBoxedValue.md)\<`T`\>
147
+
148
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:66](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L66)
149
+
150
+ ***
151
+
152
+ ### readonly$
153
+
154
+ > `readonly` **readonly$**: `Observable`\<`boolean`\>
155
+
156
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:100](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L100)
157
+
158
+ ***
159
+
160
+ ### stateChanges
161
+
162
+ > `readonly` **stateChanges**: `Subject`\<`void`\>
163
+
164
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:99](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L99)
165
+
166
+ ***
167
+
168
+ ### status
169
+
170
+ > `readonly` **status**: [`ControlState`](../type-aliases/ControlState.md)
171
+
172
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:64](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L64)
173
+
174
+ The validation status of the control.
175
+
176
+ #### See
177
+
178
+ FormControlStatus
179
+
180
+ These status values are mutually exclusive, so a control cannot be
181
+ both valid AND invalid or invalid AND disabled.
182
+
183
+ #### Overrides
184
+
185
+ `UntypedFormControl.status`
186
+
187
+ ***
188
+
189
+ ### status$
190
+
191
+ > `readonly` **status$**: `Observable`\<[`ControlState`](../type-aliases/ControlState.md)\>
192
+
193
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:92](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L92)
194
+
195
+ ***
196
+
197
+ ### statusChanges
198
+
199
+ > `readonly` **statusChanges**: `Observable`\<[`ControlState`](../type-aliases/ControlState.md)\>
200
+
201
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:65](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L65)
202
+
203
+ A multicasting observable that emits an event every time the validation `status` of the control
204
+ recalculates.
205
+
206
+ #### See
207
+
208
+ - FormControlStatus
209
+ - [AbstractControl.status](../interfaces/AbstractControl.md#status)
210
+
211
+ TODO: this should be piped from events() but is breaking in G3
212
+
213
+ #### Overrides
214
+
215
+ `UntypedFormControl.statusChanges`
216
+
217
+ ***
218
+
219
+ ### touch$
220
+
221
+ > `readonly` **touch$**: `Observable`\<`boolean`\>
222
+
223
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:72](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L72)
224
+
225
+ ***
226
+
227
+ ### value
228
+
229
+ > `readonly` **value**: `T`
230
+
231
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:58](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L58)
232
+
233
+ The current value of the control.
234
+
235
+ * For a `FormControl`, the current value.
236
+ * For an enabled `FormGroup`, the values of enabled controls as an object
237
+ with a key-value pair for each member of the group.
238
+ * For a disabled `FormGroup`, the values of all controls as an object
239
+ with a key-value pair for each member of the group.
240
+ * For a `FormArray`, the values of enabled controls as an array.
241
+
242
+ #### Overrides
243
+
244
+ `UntypedFormControl.value`
245
+
246
+ ***
247
+
248
+ ### value$
249
+
250
+ > `readonly` **value$**: `Observable`\<`T`\>
251
+
252
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:79](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L79)
253
+
254
+ ***
255
+
256
+ ### valueChanges
257
+
258
+ > `readonly` **valueChanges**: `Observable`\<`T`\>
259
+
260
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:62](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L62)
261
+
262
+ A multicasting observable that emits an event every time the value of the control changes, in
263
+ the UI or programmatically. It also emits an event each time you call enable() or disable()
264
+ without passing along {emitEvent: false} as a function argument.
265
+
266
+ **Note**: the emit happens right after a value of this control is updated. The value of a
267
+ parent control (for example if this FormControl is a part of a FormGroup) is updated later, so
268
+ accessing a value of a parent control (using the `value` property) from the callback of this
269
+ event might result in getting a value that has not been updated yet. Subscribe to the
270
+ `valueChanges` event of the parent control instead.
271
+
272
+ TODO: this should be piped from events() but is breaking in G3
273
+
274
+ #### Overrides
275
+
276
+ `UntypedFormControl.valueChanges`
277
+
278
+ ## Accessors
279
+
280
+ ### asyncValidator
281
+
282
+ #### Get Signature
283
+
284
+ > **get** **asyncValidator**(): `null` \| `AsyncValidatorFn`
285
+
286
+ Defined in: node\_modules/@angular/forms/index.d.ts:79
287
+
288
+ Returns the function that is used to determine the validity of this control asynchronously.
289
+ If multiple validators have been added, this will be a single composed function.
290
+ See `Validators.compose()` for additional information.
291
+
292
+ ##### Returns
293
+
294
+ `null` \| `AsyncValidatorFn`
295
+
296
+ #### Set Signature
297
+
298
+ > **set** **asyncValidator**(`asyncValidatorFn`): `void`
299
+
300
+ Defined in: node\_modules/@angular/forms/index.d.ts:80
301
+
302
+ ##### Parameters
303
+
304
+ ###### asyncValidatorFn
305
+
306
+ `null` | `AsyncValidatorFn`
307
+
308
+ ##### Returns
309
+
310
+ `void`
311
+
312
+ #### Inherited from
313
+
314
+ `UntypedFormControl.asyncValidator`
315
+
316
+ ***
317
+
318
+ ### controlPath
319
+
320
+ #### Get Signature
321
+
322
+ > **get** **controlPath**(): `string`
323
+
324
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:102](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L102)
325
+
326
+ ##### Returns
327
+
328
+ `string`
329
+
330
+ ***
331
+
332
+ ### dirty
333
+
334
+ #### Get Signature
335
+
336
+ > **get** **dirty**(): `boolean`
337
+
338
+ Defined in: node\_modules/@angular/forms/index.d.ts:167
339
+
340
+ A control is `dirty` if the user has changed the value
341
+ in the UI.
342
+
343
+ ##### Returns
344
+
345
+ `boolean`
346
+
347
+ True if the user has changed the value of this control in the UI; compare `pristine`.
348
+ Programmatic changes to a control's value do not mark it dirty.
349
+
350
+ #### Inherited from
351
+
352
+ `UntypedFormControl.dirty`
353
+
354
+ ***
355
+
356
+ ### disabled
357
+
358
+ #### Get Signature
359
+
360
+ > **get** **disabled**(): `boolean`
361
+
362
+ Defined in: node\_modules/@angular/forms/index.d.ts:134
363
+
364
+ A control is `disabled` when its `status` is `DISABLED`.
365
+
366
+ Disabled controls are exempt from validation checks and
367
+ are not included in the aggregate value of their ancestor
368
+ controls.
369
+
370
+ ##### See
371
+
372
+ [AbstractControl.status](../interfaces/AbstractControl.md#status)
373
+
374
+ ##### Returns
375
+
376
+ `boolean`
377
+
378
+ True if the control is disabled, false otherwise.
379
+
380
+ #### Inherited from
381
+
382
+ `UntypedFormControl.disabled`
383
+
384
+ ***
385
+
386
+ ### enabled
387
+
388
+ #### Get Signature
389
+
390
+ > **get** **enabled**(): `boolean`
391
+
392
+ Defined in: node\_modules/@angular/forms/index.d.ts:144
393
+
394
+ A control is `enabled` as long as its `status` is not `DISABLED`.
395
+
396
+ ##### See
397
+
398
+ [AbstractControl.status](../interfaces/AbstractControl.md#status)
399
+
400
+ ##### Returns
401
+
402
+ `boolean`
403
+
404
+ True if the control has any status other than 'DISABLED',
405
+ false if the status is 'DISABLED'.
406
+
407
+ #### Inherited from
408
+
409
+ `UntypedFormControl.enabled`
410
+
411
+ ***
412
+
413
+ ### fullControlPath
414
+
415
+ #### Get Signature
416
+
417
+ > **get** **fullControlPath**(): `string`
418
+
419
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:116](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L116)
420
+
421
+ ##### Returns
422
+
423
+ `string`
424
+
425
+ ***
426
+
427
+ ### invalid
428
+
429
+ #### Get Signature
430
+
431
+ > **get** **invalid**(): `boolean`
432
+
433
+ Defined in: node\_modules/@angular/forms/index.d.ts:113
434
+
435
+ A control is `invalid` when its `status` is `INVALID`.
436
+
437
+ ##### See
438
+
439
+ [AbstractControl.status](../interfaces/AbstractControl.md#status)
440
+
441
+ ##### Returns
442
+
443
+ `boolean`
444
+
445
+ True if this control has failed one or more of its validation checks,
446
+ false otherwise.
447
+
448
+ #### Inherited from
449
+
450
+ `UntypedFormControl.invalid`
451
+
452
+ ***
453
+
454
+ ### parent
455
+
456
+ #### Get Signature
457
+
458
+ > **get** **parent**(): `null` \| `FormGroup`\<`any`\> \| `FormArray`\<`any`\>
459
+
460
+ Defined in: node\_modules/@angular/forms/index.d.ts:84
461
+
462
+ The parent control.
463
+
464
+ ##### Returns
465
+
466
+ `null` \| `FormGroup`\<`any`\> \| `FormArray`\<`any`\>
467
+
468
+ #### Inherited from
469
+
470
+ `UntypedFormControl.parent`
471
+
472
+ ***
473
+
474
+ ### pending
475
+
476
+ #### Get Signature
477
+
478
+ > **get** **pending**(): `boolean`
479
+
480
+ Defined in: node\_modules/@angular/forms/index.d.ts:122
481
+
482
+ A control is `pending` when its `status` is `PENDING`.
483
+
484
+ ##### See
485
+
486
+ [AbstractControl.status](../interfaces/AbstractControl.md#status)
487
+
488
+ ##### Returns
489
+
490
+ `boolean`
491
+
492
+ True if this control is in the process of conducting a validation check,
493
+ false otherwise.
494
+
495
+ #### Inherited from
496
+
497
+ `UntypedFormControl.pending`
498
+
499
+ ***
500
+
501
+ ### pristine
502
+
503
+ #### Get Signature
504
+
505
+ > **get** **pristine**(): `boolean`
506
+
507
+ Defined in: node\_modules/@angular/forms/index.d.ts:157
508
+
509
+ A control is `pristine` if the user has not yet changed
510
+ the value in the UI.
511
+
512
+ ##### Returns
513
+
514
+ `boolean`
515
+
516
+ True if the user has not yet changed the value in the UI; compare `dirty`.
517
+ Programmatic changes to a control's value do not mark it dirty.
518
+
519
+ #### Set Signature
520
+
521
+ > **set** **pristine**(`value`): `void`
522
+
523
+ Defined in: node\_modules/@angular/forms/index.d.ts:158
524
+
525
+ ##### Parameters
526
+
527
+ ###### value
528
+
529
+ `boolean`
530
+
531
+ ##### Returns
532
+
533
+ `void`
534
+
535
+ #### Inherited from
536
+
537
+ `UntypedFormControl.pristine`
538
+
539
+ ***
540
+
541
+ ### readonly
542
+
543
+ #### Get Signature
544
+
545
+ > **get** **readonly**(): `boolean`
546
+
547
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:83](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L83)
548
+
549
+ ##### Returns
550
+
551
+ `boolean`
552
+
553
+ #### Set Signature
554
+
555
+ > **set** **readonly**(`value`): `void`
556
+
557
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:87](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L87)
558
+
559
+ ##### Parameters
560
+
561
+ ###### value
562
+
563
+ `boolean`
564
+
565
+ ##### Returns
566
+
567
+ `void`
568
+
569
+ ***
570
+
571
+ ### root
572
+
573
+ #### Get Signature
574
+
575
+ > **get** **root**(): `AbstractControl`
576
+
577
+ Defined in: node\_modules/@angular/forms/index.d.ts:680
578
+
579
+ Retrieves the top-level ancestor of this control.
580
+
581
+ ##### Returns
582
+
583
+ `AbstractControl`
584
+
585
+ #### Inherited from
586
+
587
+ `UntypedFormControl.root`
588
+
589
+ ***
590
+
591
+ ### rxapFormDefinition
592
+
593
+ #### Get Signature
594
+
595
+ > **get** **rxapFormDefinition**(): `undefined` \| `Partial`\<[`FormDefinition`](../interfaces/FormDefinition.md)\<`Parent`, `any`, `any`\>\> & \{ \[K in string \| number \| symbol\]: Parent\[K\] extends U\[\] ? FormDefinitionArray\<FormType\<U\>\> \| FormDefinitionArray\<RxapFormControl\<U, any, any\>\> \| RxapFormArray\<U, any, any\> \| RxapFormControl\<any\[any\], any, any\> : Parent\[K\] extends Record\<string, any\> ? Partial\<FormDefinition\<any\[any\], any, any\>\> & \{ \[K in string \| number \| symbol\]: any\[any\]\[K\] extends U\[\] ? FormDefinitionArray\<(...)\> \| FormDefinitionArray\<(...)\> \| RxapFormArray\<(...), (...), (...)\> \| RxapFormControl\<(...), (...), (...)\> : (...)\[(...)\] extends Record\<(...), (...)\> ? (...) \| (...) : RxapFormControl\<(...), (...), (...)\> \} & Partial\<FormDefinition\<any\[any\], any, any\>\> \| RxapFormControl\<any\[any\], any, any\> : RxapFormControl\<NonEmpty\<Parent\[K\]\>, any, any\> \} & [`FormDefinition`](../interfaces/FormDefinition.md)\<`Parent`, `any`, `any`\>
596
+
597
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:52](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L52)
598
+
599
+ **`Internal`**
600
+
601
+ ##### Returns
602
+
603
+ `undefined` \| `Partial`\<[`FormDefinition`](../interfaces/FormDefinition.md)\<`Parent`, `any`, `any`\>\> & \{ \[K in string \| number \| symbol\]: Parent\[K\] extends U\[\] ? FormDefinitionArray\<FormType\<U\>\> \| FormDefinitionArray\<RxapFormControl\<U, any, any\>\> \| RxapFormArray\<U, any, any\> \| RxapFormControl\<any\[any\], any, any\> : Parent\[K\] extends Record\<string, any\> ? Partial\<FormDefinition\<any\[any\], any, any\>\> & \{ \[K in string \| number \| symbol\]: any\[any\]\[K\] extends U\[\] ? FormDefinitionArray\<(...)\> \| FormDefinitionArray\<(...)\> \| RxapFormArray\<(...), (...), (...)\> \| RxapFormControl\<(...), (...), (...)\> : (...)\[(...)\] extends Record\<(...), (...)\> ? (...) \| (...) : RxapFormControl\<(...), (...), (...)\> \} & Partial\<FormDefinition\<any\[any\], any, any\>\> \| RxapFormControl\<any\[any\], any, any\> : RxapFormControl\<NonEmpty\<Parent\[K\]\>, any, any\> \} & [`FormDefinition`](../interfaces/FormDefinition.md)\<`Parent`, `any`, `any`\>
604
+
605
+ ***
606
+
607
+ ### touched
608
+
609
+ #### Get Signature
610
+
611
+ > **get** **touched**(): `boolean`
612
+
613
+ Defined in: node\_modules/@angular/forms/index.d.ts:174
614
+
615
+ True if the control is marked as `touched`.
616
+
617
+ A control is marked `touched` once the user has triggered
618
+ a `blur` event on it.
619
+
620
+ ##### Returns
621
+
622
+ `boolean`
623
+
624
+ #### Set Signature
625
+
626
+ > **set** **touched**(`value`): `void`
627
+
628
+ Defined in: node\_modules/@angular/forms/index.d.ts:175
629
+
630
+ ##### Parameters
631
+
632
+ ###### value
633
+
634
+ `boolean`
635
+
636
+ ##### Returns
637
+
638
+ `void`
639
+
640
+ #### Inherited from
641
+
642
+ `UntypedFormControl.touched`
643
+
644
+ ***
645
+
646
+ ### untouched
647
+
648
+ #### Get Signature
649
+
650
+ > **get** **untouched**(): `boolean`
651
+
652
+ Defined in: node\_modules/@angular/forms/index.d.ts:183
653
+
654
+ True if the control has not been marked as touched
655
+
656
+ A control is `untouched` if the user has not yet triggered
657
+ a `blur` event on it.
658
+
659
+ ##### Returns
660
+
661
+ `boolean`
662
+
663
+ #### Inherited from
664
+
665
+ `UntypedFormControl.untouched`
666
+
667
+ ***
668
+
669
+ ### updateOn
670
+
671
+ #### Get Signature
672
+
673
+ > **get** **updateOn**(): `FormHooks`
674
+
675
+ Defined in: node\_modules/@angular/forms/index.d.ts:227
676
+
677
+ Reports the update strategy of the `AbstractControl` (meaning
678
+ the event on which the control updates itself).
679
+ Possible values: `'change'` | `'blur'` | `'submit'`
680
+ Default value: `'change'`
681
+
682
+ ##### Returns
683
+
684
+ `FormHooks`
685
+
686
+ #### Inherited from
687
+
688
+ `UntypedFormControl.updateOn`
689
+
690
+ ***
691
+
692
+ ### valid
693
+
694
+ #### Get Signature
695
+
696
+ > **get** **valid**(): `boolean`
697
+
698
+ Defined in: node\_modules/@angular/forms/index.d.ts:104
699
+
700
+ A control is `valid` when its `status` is `VALID`.
701
+
702
+ ##### See
703
+
704
+ [AbstractControl.status](../interfaces/AbstractControl.md#status)
705
+
706
+ ##### Returns
707
+
708
+ `boolean`
709
+
710
+ True if the control has passed all of its validation tests,
711
+ false otherwise.
712
+
713
+ #### Inherited from
714
+
715
+ `UntypedFormControl.valid`
716
+
717
+ ***
718
+
719
+ ### validator
720
+
721
+ #### Get Signature
722
+
723
+ > **get** **validator**(): `null` \| `ValidatorFn`
724
+
725
+ Defined in: node\_modules/@angular/forms/index.d.ts:72
726
+
727
+ Returns the function that is used to determine the validity of this control synchronously.
728
+ If multiple validators have been added, this will be a single composed function.
729
+ See `Validators.compose()` for additional information.
730
+
731
+ ##### Returns
732
+
733
+ `null` \| `ValidatorFn`
734
+
735
+ #### Set Signature
736
+
737
+ > **set** **validator**(`validatorFn`): `void`
738
+
739
+ Defined in: node\_modules/@angular/forms/index.d.ts:73
740
+
741
+ ##### Parameters
742
+
743
+ ###### validatorFn
744
+
745
+ `null` | `ValidatorFn`
746
+
747
+ ##### Returns
748
+
749
+ `void`
750
+
751
+ #### Inherited from
752
+
753
+ `UntypedFormControl.validator`
754
+
755
+ ## Methods
756
+
757
+ ### addAsyncValidators()
758
+
759
+ > **addAsyncValidators**(`validators`): `void`
760
+
761
+ Defined in: node\_modules/@angular/forms/index.d.ts:274
762
+
763
+ Add an asynchronous validator or validators to this control, without affecting other
764
+ validators.
765
+
766
+ When you add or remove a validator at run time, you must call
767
+ `updateValueAndValidity()` for the new validation to take effect.
768
+
769
+ Adding a validator that already exists will have no effect.
770
+
771
+ #### Parameters
772
+
773
+ ##### validators
774
+
775
+ The new asynchronous validator function or functions to add to this control.
776
+
777
+ `AsyncValidatorFn` | `AsyncValidatorFn`[]
778
+
779
+ #### Returns
780
+
781
+ `void`
782
+
783
+ #### Inherited from
784
+
785
+ `UntypedFormControl.addAsyncValidators`
786
+
787
+ ***
788
+
789
+ ### addValidators()
790
+
791
+ > **addValidators**(`validators`): `void`
792
+
793
+ Defined in: node\_modules/@angular/forms/index.d.ts:262
794
+
795
+ Add a synchronous validator or validators to this control, without affecting other validators.
796
+
797
+ When you add or remove a validator at run time, you must call
798
+ `updateValueAndValidity()` for the new validation to take effect.
799
+
800
+ Adding a validator that already exists will have no effect. If duplicate validator functions
801
+ are present in the `validators` array, only the first instance would be added to a form
802
+ control.
803
+
804
+ #### Parameters
805
+
806
+ ##### validators
807
+
808
+ The new validator function or functions to add to this control.
809
+
810
+ `ValidatorFn` | `ValidatorFn`[]
811
+
812
+ #### Returns
813
+
814
+ `void`
815
+
816
+ #### Inherited from
817
+
818
+ `UntypedFormControl.addValidators`
819
+
820
+ ***
821
+
822
+ ### clearAsyncValidators()
823
+
824
+ > **clearAsyncValidators**(): `void`
825
+
826
+ Defined in: node\_modules/@angular/forms/index.d.ts:365
827
+
828
+ Empties out the async validator list.
829
+
830
+ When you add or remove a validator at run time, you must call
831
+ `updateValueAndValidity()` for the new validation to take effect.
832
+
833
+ #### Returns
834
+
835
+ `void`
836
+
837
+ #### Inherited from
838
+
839
+ `UntypedFormControl.clearAsyncValidators`
840
+
841
+ ***
842
+
843
+ ### clearValidators()
844
+
845
+ > **clearValidators**(): `void`
846
+
847
+ Defined in: node\_modules/@angular/forms/index.d.ts:357
848
+
849
+ Empties out the synchronous validator list.
850
+
851
+ When you add or remove a validator at run time, you must call
852
+ `updateValueAndValidity()` for the new validation to take effect.
853
+
854
+ #### Returns
855
+
856
+ `void`
857
+
858
+ #### Inherited from
859
+
860
+ `UntypedFormControl.clearValidators`
861
+
862
+ ***
863
+
864
+ ### disable()
865
+
866
+ > **disable**(`opts`?): `void`
867
+
868
+ Defined in: node\_modules/@angular/forms/index.d.ts:502
869
+
870
+ Disables the control. This means the control is exempt from validation checks and
871
+ excluded from the aggregate value of any parent. Its status is `DISABLED`.
872
+
873
+ If the control has children, all children are also disabled.
874
+
875
+ #### Parameters
876
+
877
+ ##### opts?
878
+
879
+ Configuration options that determine how the control propagates
880
+ changes and emits events after the control is disabled.
881
+ * `onlySelf`: When true, mark only this control. When false or not supplied,
882
+ marks all direct ancestors. Default is false.
883
+ * `emitEvent`: When true or not supplied (the default), the `statusChanges`,
884
+ `valueChanges` and `events`
885
+ observables emit events with the latest status and value when the control is disabled.
886
+ When false, no events are emitted.
887
+
888
+ ###### emitEvent?
889
+
890
+ `boolean`
891
+
892
+ ###### onlySelf?
893
+
894
+ `boolean`
895
+
896
+ #### Returns
897
+
898
+ `void`
899
+
900
+ #### See
901
+
902
+ [AbstractControl.status](../interfaces/AbstractControl.md#status)
903
+
904
+ #### Inherited from
905
+
906
+ `UntypedFormControl.disable`
907
+
908
+ ***
909
+
910
+ ### disabledWhile()
911
+
912
+ > **disabledWhile**(`observable`, `options`?): `Subscription`
913
+
914
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:181](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L181)
915
+
916
+ #### Parameters
917
+
918
+ ##### observable
919
+
920
+ `Observable`\<`boolean`\>
921
+
922
+ ##### options?
923
+
924
+ [`ControlOptions`](../interfaces/ControlOptions.md)
925
+
926
+ #### Returns
927
+
928
+ `Subscription`
929
+
930
+ ***
931
+
932
+ ### enable()
933
+
934
+ > **enable**(`opts`?): `void`
935
+
936
+ Defined in: node\_modules/@angular/forms/index.d.ts:524
937
+
938
+ Enables the control. This means the control is included in validation checks and
939
+ the aggregate value of its parent. Its status recalculates based on its value and
940
+ its validators.
941
+
942
+ By default, if the control has children, all children are enabled.
943
+
944
+ #### Parameters
945
+
946
+ ##### opts?
947
+
948
+ Configure options that control how the control propagates changes and
949
+ emits events when marked as untouched
950
+ * `onlySelf`: When true, mark only this control. When false or not supplied,
951
+ marks all direct ancestors. Default is false.
952
+ * `emitEvent`: When true or not supplied (the default), the `statusChanges`,
953
+ `valueChanges` and `events`
954
+ observables emit events with the latest status and value when the control is enabled.
955
+ When false, no events are emitted.
956
+
957
+ ###### emitEvent?
958
+
959
+ `boolean`
960
+
961
+ ###### onlySelf?
962
+
963
+ `boolean`
964
+
965
+ #### Returns
966
+
967
+ `void`
968
+
969
+ #### See
970
+
971
+ [AbstractControl.status](../interfaces/AbstractControl.md#status)
972
+
973
+ #### Inherited from
974
+
975
+ `UntypedFormControl.enable`
976
+
977
+ ***
978
+
979
+ ### enabledWhile()
980
+
981
+ > **enabledWhile**(`observable`, `options`?): `Subscription`
982
+
983
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:188](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L188)
984
+
985
+ #### Parameters
986
+
987
+ ##### observable
988
+
989
+ `Observable`\<`boolean`\>
990
+
991
+ ##### options?
992
+
993
+ [`ControlOptions`](../interfaces/ControlOptions.md)
994
+
995
+ #### Returns
996
+
997
+ `Subscription`
998
+
999
+ ***
1000
+
1001
+ ### get()
1002
+
1003
+ #### Call Signature
1004
+
1005
+ > **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>\>
1006
+
1007
+ Defined in: node\_modules/@angular/forms/index.d.ts:610
1008
+
1009
+ Retrieves a child control given the control's name or path.
1010
+
1011
+ This signature for get supports strings and `const` arrays (`.get(['foo', 'bar'] as const)`).
1012
+
1013
+ ##### Type Parameters
1014
+
1015
+ • **P** *extends* `string` \| readonly (`string` \| `number`)[]
1016
+
1017
+ ##### Parameters
1018
+
1019
+ ###### path
1020
+
1021
+ `P`
1022
+
1023
+ ##### Returns
1024
+
1025
+ `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>\>
1026
+
1027
+ ##### Inherited from
1028
+
1029
+ `UntypedFormControl.get`
1030
+
1031
+ #### Call Signature
1032
+
1033
+ > **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>\>
1034
+
1035
+ Defined in: node\_modules/@angular/forms/index.d.ts:617
1036
+
1037
+ Retrieves a child control given the control's name or path.
1038
+
1039
+ This signature for `get` supports non-const (mutable) arrays. Inferred type
1040
+ information will not be as robust, so prefer to pass a `readonly` array if possible.
1041
+
1042
+ ##### Type Parameters
1043
+
1044
+ • **P** *extends* `string` \| (`string` \| `number`)[]
1045
+
1046
+ ##### Parameters
1047
+
1048
+ ###### path
1049
+
1050
+ `P`
1051
+
1052
+ ##### Returns
1053
+
1054
+ `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>\>
1055
+
1056
+ ##### Inherited from
1057
+
1058
+ `UntypedFormControl.get`
1059
+
1060
+ ***
1061
+
1062
+ ### getError()
1063
+
1064
+ > **getError**\<`K`\>(`errorCode`): `null` \| `E`\[`K`\]
1065
+
1066
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:269](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L269)
1067
+
1068
+ #### Type Parameters
1069
+
1070
+ • **K** *extends* `string`
1071
+
1072
+ #### Parameters
1073
+
1074
+ ##### errorCode
1075
+
1076
+ `K`
1077
+
1078
+ The code of the error to check
1079
+
1080
+ #### Returns
1081
+
1082
+ `null` \| `E`\[`K`\]
1083
+
1084
+ error data for that particular error. If the control or error is not present,
1085
+ null is returned.
1086
+
1087
+ #### Description
1088
+
1089
+ Reports error data for the control with the given path.
1090
+
1091
+ #### Usage Notes
1092
+
1093
+ For example, for the following `FormGroup`:
1094
+
1095
+ ```ts
1096
+ form = new FormGroup({
1097
+ address: new FormGroup({ street: new FormControl() })
1098
+ });
1099
+ ```
1100
+
1101
+ The path to the 'street' control from the root form would be 'address' -> 'street'.
1102
+
1103
+ It can be provided to this method in one of two formats:
1104
+
1105
+ 1. An array of string control names, e.g. `['address', 'street']`
1106
+ 1. A period-delimited list of control names in one string, e.g. `'address.street'`
1107
+
1108
+ #### Overrides
1109
+
1110
+ `UntypedFormControl.getError`
1111
+
1112
+ ***
1113
+
1114
+ ### getRawValue()
1115
+
1116
+ > **getRawValue**(): `any`
1117
+
1118
+ Defined in: node\_modules/@angular/forms/index.d.ts:2284
1119
+
1120
+ For a simple FormControl, the raw value is equivalent to the value.
1121
+
1122
+ #### Returns
1123
+
1124
+ `any`
1125
+
1126
+ #### Inherited from
1127
+
1128
+ `UntypedFormControl.getRawValue`
1129
+
1130
+ ***
1131
+
1132
+ ### hasAsyncValidator()
1133
+
1134
+ > **hasAsyncValidator**(`validator`): `boolean`
1135
+
1136
+ Defined in: node\_modules/@angular/forms/index.d.ts:349
1137
+
1138
+ Check whether an asynchronous validator function is present on this control. The provided
1139
+ validator must be a reference to the exact same function that was provided.
1140
+
1141
+ #### Parameters
1142
+
1143
+ ##### validator
1144
+
1145
+ `AsyncValidatorFn`
1146
+
1147
+ The asynchronous validator to check for presence. Compared by function
1148
+ reference.
1149
+
1150
+ #### Returns
1151
+
1152
+ `boolean`
1153
+
1154
+ Whether the provided asynchronous validator was found on this control.
1155
+
1156
+ #### Inherited from
1157
+
1158
+ `UntypedFormControl.hasAsyncValidator`
1159
+
1160
+ ***
1161
+
1162
+ ### hasError()
1163
+
1164
+ > **hasError**\<`K`\>(`errorCode`): `boolean`
1165
+
1166
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:273](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L273)
1167
+
1168
+ #### Type Parameters
1169
+
1170
+ • **K** *extends* `string`
1171
+
1172
+ #### Parameters
1173
+
1174
+ ##### errorCode
1175
+
1176
+ `K`
1177
+
1178
+ The code of the error to check
1179
+
1180
+ #### Returns
1181
+
1182
+ `boolean`
1183
+
1184
+ whether the given error is present in the control at the given path.
1185
+
1186
+ If the control is not present, false is returned.
1187
+
1188
+ #### Description
1189
+
1190
+ Reports whether the control with the given path has the error specified.
1191
+
1192
+ #### Usage Notes
1193
+
1194
+ For example, for the following `FormGroup`:
1195
+
1196
+ ```ts
1197
+ form = new FormGroup({
1198
+ address: new FormGroup({ street: new FormControl() })
1199
+ });
1200
+ ```
1201
+
1202
+ The path to the 'street' control from the root form would be 'address' -> 'street'.
1203
+
1204
+ It can be provided to this method in one of two formats:
1205
+
1206
+ 1. An array of string control names, e.g. `['address', 'street']`
1207
+ 1. A period-delimited list of control names in one string, e.g. `'address.street'`
1208
+
1209
+ If no path is given, this method checks for the error on the current control.
1210
+
1211
+ #### Overrides
1212
+
1213
+ `UntypedFormControl.hasError`
1214
+
1215
+ ***
1216
+
1217
+ ### hasErrorAndDirty()
1218
+
1219
+ > **hasErrorAndDirty**(`error`): `boolean`
1220
+
1221
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:289](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L289)
1222
+
1223
+ #### Parameters
1224
+
1225
+ ##### error
1226
+
1227
+ [`ExtractStrings`](../type-aliases/ExtractStrings.md)\<`E`\>
1228
+
1229
+ #### Returns
1230
+
1231
+ `boolean`
1232
+
1233
+ ***
1234
+
1235
+ ### hasErrorAndTouched()
1236
+
1237
+ > **hasErrorAndTouched**(`error`): `boolean`
1238
+
1239
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:285](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L285)
1240
+
1241
+ #### Parameters
1242
+
1243
+ ##### error
1244
+
1245
+ [`ExtractStrings`](../type-aliases/ExtractStrings.md)\<`E`\>
1246
+
1247
+ #### Returns
1248
+
1249
+ `boolean`
1250
+
1251
+ ***
1252
+
1253
+ ### hasValidator()
1254
+
1255
+ > **hasValidator**(`validator`): `boolean`
1256
+
1257
+ Defined in: node\_modules/@angular/forms/index.d.ts:340
1258
+
1259
+ Check whether a synchronous validator function is present on this control. The provided
1260
+ validator must be a reference to the exact same function that was provided.
1261
+
1262
+ #### Parameters
1263
+
1264
+ ##### validator
1265
+
1266
+ `ValidatorFn`
1267
+
1268
+ The validator to check for presence. Compared by function reference.
1269
+
1270
+ #### Returns
1271
+
1272
+ `boolean`
1273
+
1274
+ Whether the provided validator was found on this control.
1275
+
1276
+ #### Usage Notes
1277
+
1278
+ ### Reference to a ValidatorFn
1279
+
1280
+ ```
1281
+ // Reference to the RequiredValidator
1282
+ const ctrl = new FormControl<number | null>(0, Validators.required);
1283
+ expect(ctrl.hasValidator(Validators.required)).toEqual(true)
1284
+
1285
+ // Reference to anonymous function inside MinValidator
1286
+ const minValidator = Validators.min(3);
1287
+ const ctrl = new FormControl<number | null>(0, minValidator);
1288
+ expect(ctrl.hasValidator(minValidator)).toEqual(true)
1289
+ expect(ctrl.hasValidator(Validators.min(3))).toEqual(false)
1290
+ ```
1291
+
1292
+ #### Inherited from
1293
+
1294
+ `UntypedFormControl.hasValidator`
1295
+
1296
+ ***
1297
+
1298
+ ### markAllAsDirty()
1299
+
1300
+ > **markAllAsDirty**(): `void`
1301
+
1302
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:228](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L228)
1303
+
1304
+ #### Returns
1305
+
1306
+ `void`
1307
+
1308
+ ***
1309
+
1310
+ ### markAllAsTouched()
1311
+
1312
+ > **markAllAsTouched**(`opts`?): `void`
1313
+
1314
+ Defined in: node\_modules/@angular/forms/index.d.ts:396
1315
+
1316
+ Marks the control and all its descendant controls as `touched`.
1317
+
1318
+ #### Parameters
1319
+
1320
+ ##### opts?
1321
+
1322
+ Configuration options that determine how the control propagates changes
1323
+ and emits events after marking is applied.
1324
+ * `emitEvent`: When true or not supplied (the default), the `events`
1325
+ observable emits a `TouchedChangeEvent` with the `touched` property being `true`.
1326
+ When false, no events are emitted.
1327
+
1328
+ ###### emitEvent?
1329
+
1330
+ `boolean`
1331
+
1332
+ #### Returns
1333
+
1334
+ `void`
1335
+
1336
+ #### See
1337
+
1338
+ [()](RxapFormControl.md#markastouched)
1339
+
1340
+ #### Inherited from
1341
+
1342
+ `UntypedFormControl.markAllAsTouched`
1343
+
1344
+ ***
1345
+
1346
+ ### markAsDirty()
1347
+
1348
+ > **markAsDirty**(`opts`?): `void`
1349
+
1350
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:223](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L223)
1351
+
1352
+ Marks the control as `dirty`. A control becomes dirty when
1353
+ the control's value is changed through the UI; compare `markAsTouched`.
1354
+
1355
+ #### Parameters
1356
+
1357
+ ##### opts?
1358
+
1359
+ [`OnlySelf`](../type-aliases/OnlySelf.md)
1360
+
1361
+ Configuration options that determine how the control propagates changes
1362
+ and emits events after marking is applied.
1363
+ * `onlySelf`: When true, mark only this control. When false or not supplied,
1364
+ marks all direct ancestors. Default is false.
1365
+ * `emitEvent`: When true or not supplied (the default), the `events`
1366
+ observable emits a `PristineChangeEvent` with the `pristine` property being `false`.
1367
+ When false, no events are emitted.
1368
+
1369
+ #### Returns
1370
+
1371
+ `void`
1372
+
1373
+ #### See
1374
+
1375
+ - [()](RxapFormControl.md#markastouched)
1376
+ - [()](RxapFormControl.md#markasuntouched)
1377
+ - [()](RxapFormControl.md#markaspristine)
1378
+
1379
+ #### Overrides
1380
+
1381
+ `UntypedFormControl.markAsDirty`
1382
+
1383
+ ***
1384
+
1385
+ ### markAsPending()
1386
+
1387
+ > **markAsPending**(`opts`?): `void`
1388
+
1389
+ Defined in: node\_modules/@angular/forms/index.d.ts:481
1390
+
1391
+ Marks the control as `pending`.
1392
+
1393
+ A control is pending while the control performs async validation.
1394
+
1395
+ #### Parameters
1396
+
1397
+ ##### opts?
1398
+
1399
+ Configuration options that determine how the control propagates changes and
1400
+ emits events after marking is applied.
1401
+ * `onlySelf`: When true, mark only this control. When false or not supplied,
1402
+ marks all direct ancestors. Default is false.
1403
+ * `emitEvent`: When true or not supplied (the default), the `statusChanges`
1404
+ observable emits an event with the latest status the control is marked pending
1405
+ and the `events` observable emits a `StatusChangeEvent` with the `status` property being
1406
+ `PENDING` When false, no events are emitted.
1407
+
1408
+ ###### emitEvent?
1409
+
1410
+ `boolean`
1411
+
1412
+ ###### onlySelf?
1413
+
1414
+ `boolean`
1415
+
1416
+ #### Returns
1417
+
1418
+ `void`
1419
+
1420
+ #### See
1421
+
1422
+ [AbstractControl.status](../interfaces/AbstractControl.md#status)
1423
+
1424
+ #### Inherited from
1425
+
1426
+ `UntypedFormControl.markAsPending`
1427
+
1428
+ ***
1429
+
1430
+ ### markAsPristine()
1431
+
1432
+ > **markAsPristine**(`opts`?): `void`
1433
+
1434
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:218](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L218)
1435
+
1436
+ Marks the control as `pristine`.
1437
+
1438
+ If the control has any children, marks all children as `pristine`,
1439
+ and recalculates the `pristine` status of all parent
1440
+ controls.
1441
+
1442
+ #### Parameters
1443
+
1444
+ ##### opts?
1445
+
1446
+ [`OnlySelf`](../type-aliases/OnlySelf.md)
1447
+
1448
+ Configuration options that determine how the control emits events after
1449
+ marking is applied.
1450
+ * `onlySelf`: When true, mark only this control. When false or not supplied,
1451
+ marks all direct ancestors. Default is false.
1452
+ * `emitEvent`: When true or not supplied (the default), the `events`
1453
+ observable emits a `PristineChangeEvent` with the `pristine` property being `true`.
1454
+ When false, no events are emitted.
1455
+
1456
+ #### Returns
1457
+
1458
+ `void`
1459
+
1460
+ #### See
1461
+
1462
+ - [()](RxapFormControl.md#markastouched)
1463
+ - [()](RxapFormControl.md#markasuntouched)
1464
+ - [()](RxapFormControl.md#markasdirty)
1465
+
1466
+ #### Overrides
1467
+
1468
+ `UntypedFormControl.markAsPristine`
1469
+
1470
+ ***
1471
+
1472
+ ### markAsTouched()
1473
+
1474
+ > **markAsTouched**(`opts`?): `void`
1475
+
1476
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:208](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L208)
1477
+
1478
+ Marks the control as `touched`. A control is touched by focus and
1479
+ blur events that do not change the value.
1480
+
1481
+ #### Parameters
1482
+
1483
+ ##### opts?
1484
+
1485
+ [`OnlySelf`](../type-aliases/OnlySelf.md)
1486
+
1487
+ Configuration options that determine how the control propagates changes
1488
+ and emits events after marking is applied.
1489
+ * `onlySelf`: When true, mark only this control. When false or not supplied,
1490
+ marks all direct ancestors. Default is false.
1491
+ * `emitEvent`: When true or not supplied (the default), the `events`
1492
+ observable emits a `TouchedChangeEvent` with the `touched` property being `true`.
1493
+ When false, no events are emitted.
1494
+
1495
+ #### Returns
1496
+
1497
+ `void`
1498
+
1499
+ #### See
1500
+
1501
+ - [()](RxapFormControl.md#markasuntouched)
1502
+ - [()](RxapFormControl.md#markasdirty)
1503
+ - [()](RxapFormControl.md#markaspristine)
1504
+
1505
+ #### Overrides
1506
+
1507
+ `UntypedFormControl.markAsTouched`
1508
+
1509
+ ***
1510
+
1511
+ ### markAsUntouched()
1512
+
1513
+ > **markAsUntouched**(`opts`?): `void`
1514
+
1515
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:213](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L213)
1516
+
1517
+ Marks the control as `untouched`.
1518
+
1519
+ If the control has any children, also marks all children as `untouched`
1520
+ and recalculates the `touched` status of all parent controls.
1521
+
1522
+ #### Parameters
1523
+
1524
+ ##### opts?
1525
+
1526
+ [`OnlySelf`](../type-aliases/OnlySelf.md)
1527
+
1528
+ Configuration options that determine how the control propagates changes
1529
+ and emits events after the marking is applied.
1530
+ * `onlySelf`: When true, mark only this control. When false or not supplied,
1531
+ marks all direct ancestors. Default is false.
1532
+ * `emitEvent`: When true or not supplied (the default), the `events`
1533
+ observable emits a `TouchedChangeEvent` with the `touched` property being `false`.
1534
+ When false, no events are emitted.
1535
+
1536
+ #### Returns
1537
+
1538
+ `void`
1539
+
1540
+ #### See
1541
+
1542
+ - [()](RxapFormControl.md#markastouched)
1543
+ - [()](RxapFormControl.md#markasdirty)
1544
+ - [()](RxapFormControl.md#markaspristine)
1545
+
1546
+ #### Overrides
1547
+
1548
+ `UntypedFormControl.markAsUntouched`
1549
+
1550
+ ***
1551
+
1552
+ ### mergeAsyncValidators()
1553
+
1554
+ > **mergeAsyncValidators**(`validators`): `void`
1555
+
1556
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:199](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L199)
1557
+
1558
+ #### Parameters
1559
+
1560
+ ##### validators
1561
+
1562
+ [`AsyncValidator`](../type-aliases/AsyncValidator.md)
1563
+
1564
+ #### Returns
1565
+
1566
+ `void`
1567
+
1568
+ ***
1569
+
1570
+ ### mergeValidators()
1571
+
1572
+ > **mergeValidators**(`validators`): `void`
1573
+
1574
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:195](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L195)
1575
+
1576
+ #### Parameters
1577
+
1578
+ ##### validators
1579
+
1580
+ [`Validator`](../type-aliases/Validator.md)
1581
+
1582
+ #### Returns
1583
+
1584
+ `void`
1585
+
1586
+ ***
1587
+
1588
+ ### patchValue()
1589
+
1590
+ #### Call Signature
1591
+
1592
+ > **patchValue**(`valueOrObservable`, `options`?): `Subscription`
1593
+
1594
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:163](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L163)
1595
+
1596
+ Patches the value of a control.
1597
+
1598
+ This function is functionally the same as FormControl#setValue setValue at this level.
1599
+ It exists for symmetry with FormGroup#patchValue patchValue on `FormGroups` and
1600
+ `FormArrays`, where it does behave differently.
1601
+
1602
+ ##### Parameters
1603
+
1604
+ ###### valueOrObservable
1605
+
1606
+ `Observable`\<`T`\>
1607
+
1608
+ ###### options?
1609
+
1610
+ [`ControlOptions`](../interfaces/ControlOptions.md)
1611
+
1612
+ ##### Returns
1613
+
1614
+ `Subscription`
1615
+
1616
+ ##### See
1617
+
1618
+ FormControl#setValue for options
1619
+
1620
+ ##### Overrides
1621
+
1622
+ `UntypedFormControl.patchValue`
1623
+
1624
+ #### Call Signature
1625
+
1626
+ > **patchValue**(`valueOrObservable`, `options`?): `void`
1627
+
1628
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:167](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L167)
1629
+
1630
+ ##### Parameters
1631
+
1632
+ ###### valueOrObservable
1633
+
1634
+ `T`
1635
+
1636
+ ###### options?
1637
+
1638
+ [`ControlOptions`](../interfaces/ControlOptions.md)
1639
+
1640
+ ##### Returns
1641
+
1642
+ `void`
1643
+
1644
+ ##### Overrides
1645
+
1646
+ `UntypedFormControl.patchValue`
1647
+
1648
+ ***
1649
+
1650
+ ### registerOnChange()
1651
+
1652
+ > **registerOnChange**(`fn`): `void`
1653
+
1654
+ Defined in: node\_modules/@angular/forms/index.d.ts:2290
1655
+
1656
+ Register a listener for change events.
1657
+
1658
+ #### Parameters
1659
+
1660
+ ##### fn
1661
+
1662
+ `Function`
1663
+
1664
+ The method that is called when the value changes
1665
+
1666
+ #### Returns
1667
+
1668
+ `void`
1669
+
1670
+ #### Inherited from
1671
+
1672
+ `UntypedFormControl.registerOnChange`
1673
+
1674
+ ***
1675
+
1676
+ ### registerOnDisabledChange()
1677
+
1678
+ > **registerOnDisabledChange**(`fn`): `void`
1679
+
1680
+ Defined in: node\_modules/@angular/forms/index.d.ts:2296
1681
+
1682
+ Register a listener for disabled events.
1683
+
1684
+ #### Parameters
1685
+
1686
+ ##### fn
1687
+
1688
+ (`isDisabled`) => `void`
1689
+
1690
+ The method that is called when the disabled status changes.
1691
+
1692
+ #### Returns
1693
+
1694
+ `void`
1695
+
1696
+ #### Inherited from
1697
+
1698
+ `UntypedFormControl.registerOnDisabledChange`
1699
+
1700
+ ***
1701
+
1702
+ ### registerOnSetValue()
1703
+
1704
+ > **registerOnSetValue**(`setValueFn`): `void`
1705
+
1706
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:301](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L301)
1707
+
1708
+ #### Parameters
1709
+
1710
+ ##### setValueFn
1711
+
1712
+ [`SetValueFn`](../type-aliases/SetValueFn.md)\<`T`\>
1713
+
1714
+ #### Returns
1715
+
1716
+ `void`
1717
+
1718
+ ***
1719
+
1720
+ ### removeAsyncValidators()
1721
+
1722
+ > **removeAsyncValidators**(`validators`): `void`
1723
+
1724
+ Defined in: node\_modules/@angular/forms/index.d.ts:316
1725
+
1726
+ Remove an asynchronous validator from this control, without affecting other validators.
1727
+ Validators are compared by function reference; you must pass a reference to the exact same
1728
+ validator function as the one that was originally set. If a provided validator is not found, it
1729
+ is ignored.
1730
+
1731
+ When you add or remove a validator at run time, you must call
1732
+ `updateValueAndValidity()` for the new validation to take effect.
1733
+
1734
+ #### Parameters
1735
+
1736
+ ##### validators
1737
+
1738
+ The asynchronous validator or validators to remove.
1739
+
1740
+ `AsyncValidatorFn` | `AsyncValidatorFn`[]
1741
+
1742
+ #### Returns
1743
+
1744
+ `void`
1745
+
1746
+ #### Inherited from
1747
+
1748
+ `UntypedFormControl.removeAsyncValidators`
1749
+
1750
+ ***
1751
+
1752
+ ### removeValidators()
1753
+
1754
+ > **removeValidators**(`validators`): `void`
1755
+
1756
+ Defined in: node\_modules/@angular/forms/index.d.ts:304
1757
+
1758
+ Remove a synchronous validator from this control, without affecting other validators.
1759
+ Validators are compared by function reference; you must pass a reference to the exact same
1760
+ validator function as the one that was originally set. If a provided validator is not found,
1761
+ it is ignored.
1762
+
1763
+ #### Parameters
1764
+
1765
+ ##### validators
1766
+
1767
+ The validator or validators to remove.
1768
+
1769
+ `ValidatorFn` | `ValidatorFn`[]
1770
+
1771
+ #### Returns
1772
+
1773
+ `void`
1774
+
1775
+ #### Usage Notes
1776
+
1777
+ ### Reference to a ValidatorFn
1778
+
1779
+ ```
1780
+ // Reference to the RequiredValidator
1781
+ const ctrl = new FormControl<string | null>('', Validators.required);
1782
+ ctrl.removeValidators(Validators.required);
1783
+
1784
+ // Reference to anonymous function inside MinValidator
1785
+ const minValidator = Validators.min(3);
1786
+ const ctrl = new FormControl<string | null>('', minValidator);
1787
+ expect(ctrl.hasValidator(minValidator)).toEqual(true)
1788
+ expect(ctrl.hasValidator(Validators.min(3))).toEqual(false)
1789
+
1790
+ ctrl.removeValidators(minValidator);
1791
+ ```
1792
+
1793
+ When you add or remove a validator at run time, you must call
1794
+ `updateValueAndValidity()` for the new validation to take effect.
1795
+
1796
+ #### Inherited from
1797
+
1798
+ `UntypedFormControl.removeValidators`
1799
+
1800
+ ***
1801
+
1802
+ ### reset()
1803
+
1804
+ > **reset**(`formState`?, `options`?): `void`
1805
+
1806
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:232](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L232)
1807
+
1808
+ Resets the form control, marking it `pristine` and `untouched`, and resetting
1809
+ the value. The new value will be the provided value (if passed), `null`, or the initial value
1810
+ if `nonNullable` was set in the constructor via FormControlOptions.
1811
+
1812
+ ```ts
1813
+ // By default, the control will reset to null.
1814
+ const dog = new FormControl('spot');
1815
+ dog.reset(); // dog.value is null
1816
+
1817
+ // If this flag is set, the control will instead reset to the initial value.
1818
+ const cat = new FormControl('tabby', {nonNullable: true});
1819
+ cat.reset(); // cat.value is "tabby"
1820
+
1821
+ // A value passed to reset always takes precedence.
1822
+ const fish = new FormControl('finn', {nonNullable: true});
1823
+ fish.reset('bubble'); // fish.value is "bubble"
1824
+ ```
1825
+
1826
+ #### Parameters
1827
+
1828
+ ##### formState?
1829
+
1830
+ [`OrBoxedValue`](../type-aliases/OrBoxedValue.md)\<`T`\>
1831
+
1832
+ Resets the control with an initial value,
1833
+ or an object that defines the initial value and disabled state.
1834
+
1835
+ ##### options?
1836
+
1837
+ [`ControlEventOptions`](../type-aliases/ControlEventOptions.md)
1838
+
1839
+ Configuration options that determine how the control propagates changes
1840
+ and emits events after the value changes.
1841
+
1842
+ * `onlySelf`: When true, each change only affects this control, and not its parent. Default is
1843
+ false.
1844
+ * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
1845
+ `valueChanges`
1846
+ observables emit events with the latest status and value when the control is reset.
1847
+ When false, no events are emitted.
1848
+
1849
+ #### Returns
1850
+
1851
+ `void`
1852
+
1853
+ #### Overrides
1854
+
1855
+ `UntypedFormControl.reset`
1856
+
1857
+ ***
1858
+
1859
+ ### setAsyncValidators()
1860
+
1861
+ > **setAsyncValidators**(`newValidator`, `updateValueAndValidity`): `void`
1862
+
1863
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:255](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L255)
1864
+
1865
+ Sets the asynchronous validators that are active on this control. Calling this
1866
+ overwrites any existing asynchronous validators.
1867
+
1868
+ When you add or remove a validator at run time, you must call
1869
+ `updateValueAndValidity()` for the new validation to take effect.
1870
+
1871
+ If you want to add a new validator without affecting existing ones, consider
1872
+ using `addAsyncValidators()` method instead.
1873
+
1874
+ #### Parameters
1875
+
1876
+ ##### newValidator
1877
+
1878
+ [`AsyncValidator`](../type-aliases/AsyncValidator.md)
1879
+
1880
+ ##### updateValueAndValidity
1881
+
1882
+ `boolean` = `true`
1883
+
1884
+ #### Returns
1885
+
1886
+ `void`
1887
+
1888
+ #### Overrides
1889
+
1890
+ `UntypedFormControl.setAsyncValidators`
1891
+
1892
+ ***
1893
+
1894
+ ### setDisable()
1895
+
1896
+ > **setDisable**(`disable`, `opts`?): `void`
1897
+
1898
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:297](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L297)
1899
+
1900
+ #### Parameters
1901
+
1902
+ ##### disable
1903
+
1904
+ `boolean` = `true`
1905
+
1906
+ ##### opts?
1907
+
1908
+ [`ControlEventOptions`](../type-aliases/ControlEventOptions.md)
1909
+
1910
+ #### Returns
1911
+
1912
+ `void`
1913
+
1914
+ ***
1915
+
1916
+ ### setEnable()
1917
+
1918
+ > **setEnable**(`enable`, `opts`?): `void`
1919
+
1920
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:293](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L293)
1921
+
1922
+ #### Parameters
1923
+
1924
+ ##### enable
1925
+
1926
+ `boolean` = `true`
1927
+
1928
+ ##### opts?
1929
+
1930
+ [`ControlEventOptions`](../type-aliases/ControlEventOptions.md)
1931
+
1932
+ #### Returns
1933
+
1934
+ `void`
1935
+
1936
+ ***
1937
+
1938
+ ### setError()
1939
+
1940
+ > **setError**(`key`, `value`, `opts`): `void`
1941
+
1942
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:281](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L281)
1943
+
1944
+ #### Parameters
1945
+
1946
+ ##### key
1947
+
1948
+ `string`
1949
+
1950
+ ##### value
1951
+
1952
+ `any`
1953
+
1954
+ ##### opts
1955
+
1956
+ [`EmitEvent`](../type-aliases/EmitEvent.md) = `{}`
1957
+
1958
+ #### Returns
1959
+
1960
+ `void`
1961
+
1962
+ ***
1963
+
1964
+ ### setErrors()
1965
+
1966
+ > **setErrors**(`errors`, `opts`): `void`
1967
+
1968
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:277](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L277)
1969
+
1970
+ Sets errors on a form control when running validations manually, rather than automatically.
1971
+
1972
+ Calling `setErrors` also updates the validity of the parent control.
1973
+
1974
+ #### Parameters
1975
+
1976
+ ##### errors
1977
+
1978
+ `null` | `Partial`\<`E`\>
1979
+
1980
+ ##### opts
1981
+
1982
+ [`EmitEvent`](../type-aliases/EmitEvent.md) = `{}`
1983
+
1984
+ Configuration options that determine how the control propagates
1985
+ changes and emits events after the control errors are set.
1986
+ * `emitEvent`: When true or not supplied (the default), the `statusChanges`
1987
+ observable emits an event after the errors are set.
1988
+
1989
+ #### Returns
1990
+
1991
+ `void`
1992
+
1993
+ #### Usage Notes
1994
+
1995
+ ### Manually set the errors for a control
1996
+
1997
+ ```ts
1998
+ const login = new FormControl('someLogin');
1999
+ login.setErrors({
2000
+ notUnique: true
2001
+ });
2002
+
2003
+ expect(login.valid).toEqual(false);
2004
+ expect(login.errors).toEqual({ notUnique: true });
2005
+
2006
+ login.setValue('someOtherLogin');
2007
+
2008
+ expect(login.valid).toEqual(true);
2009
+ ```
2010
+
2011
+ #### Overrides
2012
+
2013
+ `UntypedFormControl.setErrors`
2014
+
2015
+ ***
2016
+
2017
+ ### setParent()
2018
+
2019
+ > **setParent**(`parent`): `void`
2020
+
2021
+ Defined in: node\_modules/@angular/forms/index.d.ts:534
2022
+
2023
+ Sets the parent of the control
2024
+
2025
+ #### Parameters
2026
+
2027
+ ##### parent
2028
+
2029
+ The new parent.
2030
+
2031
+ `null` | `FormGroup`\<`any`\> | `FormArray`\<`any`\>
2032
+
2033
+ #### Returns
2034
+
2035
+ `void`
2036
+
2037
+ #### Inherited from
2038
+
2039
+ `UntypedFormControl.setParent`
2040
+
2041
+ ***
2042
+
2043
+ ### setValidators()
2044
+
2045
+ > **setValidators**(`newValidator`, `updateValueAndValidity`): `void`
2046
+
2047
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:245](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L245)
2048
+
2049
+ Sets the synchronous validators that are active on this control. Calling
2050
+ this overwrites any existing synchronous validators.
2051
+
2052
+ When you add or remove a validator at run time, you must call
2053
+ `updateValueAndValidity()` for the new validation to take effect.
2054
+
2055
+ If you want to add a new validator without affecting existing ones, consider
2056
+ using `addValidators()` method instead.
2057
+
2058
+ #### Parameters
2059
+
2060
+ ##### newValidator
2061
+
2062
+ [`Validator`](../type-aliases/Validator.md)
2063
+
2064
+ ##### updateValueAndValidity
2065
+
2066
+ `boolean` = `true`
2067
+
2068
+ #### Returns
2069
+
2070
+ `void`
2071
+
2072
+ #### Overrides
2073
+
2074
+ `UntypedFormControl.setValidators`
2075
+
2076
+ ***
2077
+
2078
+ ### setValue()
2079
+
2080
+ #### Call Signature
2081
+
2082
+ > **setValue**(`valueOrObservable`, `options`?): `Subscription`
2083
+
2084
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:141](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L141)
2085
+
2086
+ Sets a new value for the form control.
2087
+
2088
+ ##### Parameters
2089
+
2090
+ ###### valueOrObservable
2091
+
2092
+ `Observable`\<`T`\>
2093
+
2094
+ ###### options?
2095
+
2096
+ [`ControlOptions`](../interfaces/ControlOptions.md)
2097
+
2098
+ Configuration options that determine how the control propagates changes
2099
+ and emits events when the value changes.
2100
+ The configuration options are passed to the [updateValueAndValidity](../interfaces/AbstractControl.md#updatevalueandvalidity) method.
2101
+
2102
+ * `onlySelf`: When true, each change only affects this control, and not its parent. Default is
2103
+ false.
2104
+ * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
2105
+ `valueChanges`
2106
+ observables emit events with the latest status and value when the control value is updated.
2107
+ When false, no events are emitted.
2108
+ * `emitModelToViewChange`: When true or not supplied (the default), each change triggers an
2109
+ `onChange` event to
2110
+ update the view.
2111
+ * `emitViewToModelChange`: When true or not supplied (the default), each change triggers an
2112
+ `ngModelChange`
2113
+ event to update the model.
2114
+
2115
+ ##### Returns
2116
+
2117
+ `Subscription`
2118
+
2119
+ ##### Overrides
2120
+
2121
+ `UntypedFormControl.setValue`
2122
+
2123
+ #### Call Signature
2124
+
2125
+ > **setValue**(`valueOrObservable`, `options`?): `void`
2126
+
2127
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:145](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L145)
2128
+
2129
+ ##### Parameters
2130
+
2131
+ ###### valueOrObservable
2132
+
2133
+ `T`
2134
+
2135
+ ###### options?
2136
+
2137
+ [`ControlOptions`](../interfaces/ControlOptions.md)
2138
+
2139
+ ##### Returns
2140
+
2141
+ `void`
2142
+
2143
+ ##### Overrides
2144
+
2145
+ `UntypedFormControl.setValue`
2146
+
2147
+ ***
2148
+
2149
+ ### updateValueAndValidity()
2150
+
2151
+ > **updateValueAndValidity**(`opts`?): `void`
2152
+
2153
+ Defined in: node\_modules/@angular/forms/index.d.ts:566
2154
+
2155
+ Recalculates the value and validation status of the control.
2156
+
2157
+ By default, it also updates the value and validity of its ancestors.
2158
+
2159
+ #### Parameters
2160
+
2161
+ ##### opts?
2162
+
2163
+ Configuration options determine how the control propagates changes and emits events
2164
+ after updates and validity checks are applied.
2165
+ * `onlySelf`: When true, only update this control. When false or not supplied,
2166
+ update all direct ancestors. Default is false.
2167
+ * `emitEvent`: When true or not supplied (the default), the `statusChanges`,
2168
+ `valueChanges` and `events`
2169
+ observables emit events with the latest status and value when the control is updated.
2170
+ When false, no events are emitted.
2171
+
2172
+ ###### emitEvent?
2173
+
2174
+ `boolean`
2175
+
2176
+ ###### onlySelf?
2177
+
2178
+ `boolean`
2179
+
2180
+ #### Returns
2181
+
2182
+ `void`
2183
+
2184
+ #### Inherited from
2185
+
2186
+ `UntypedFormControl.updateValueAndValidity`
2187
+
2188
+ ***
2189
+
2190
+ ### validateOn()
2191
+
2192
+ > **validateOn**(`observableValidation`): `Subscription`
2193
+
2194
+ Defined in: [packages/angular/forms/src/lib/form-control.ts:265](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/forms/src/lib/form-control.ts#L265)
2195
+
2196
+ #### Parameters
2197
+
2198
+ ##### observableValidation
2199
+
2200
+ `Observable`\<`null` \| `object`\>
2201
+
2202
+ #### Returns
2203
+
2204
+ `Subscription`