@rxap/forms 19.0.1-dev.4 → 19.0.1

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