@rxap/forms 19.0.1-dev.4 → 19.0.1-dev.5

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