angular/packages/forms/src
arturovt dc9581469f docs: add documentation for NG1002
Adds a documentation page for the NG01002 runtime error thrown by
FormGroup and FormArray when setValue is called with a value that is
missing an entry for one or more registered controls.

The error code is also changed from positive (1002) to negative (-1002)
so that Angular appends a link to the error reference page in dev mode,
consistent with how other documented errors (e.g. NG01101, NG01203) are
handled.

(cherry picked from commit 030422850b)
2026-04-10 10:54:46 +03:00
..
directives refactor(forms): use optional chaining for safer method calls in form directives 2026-02-10 07:42:56 -08:00
model docs(forms): clarify disabled FormArray value behavior 2026-04-03 18:22:37 +00:00
directives.ts feat(forms): Add FormArrayDirective (#55880) 2025-08-21 09:38:37 -07:00
errors.ts docs: add documentation for NG1002 2026-04-10 10:54:46 +03:00
form_builder.ts docs: improve discoverability of forms 2025-11-10 07:57:43 -08:00
form_providers.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
forms.ts feat(forms): Add FormArrayDirective (#55880) 2025-08-21 09:38:37 -07:00
util.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
validators.ts refactor(core): correct all typeof ngDevMode comparison patterns introduced by #63875 2025-12-08 10:30:01 -08:00
version.ts refactor(core): mark VERSION as @__PURE__ for better tree-shaking 2025-11-10 12:04:04 -08:00