We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8cbd20b + 82cb131 commit ac86bf7Copy full SHA for ac86bf7
README.md
@@ -82,7 +82,7 @@ control.value$.subscribe(value => {
82
Use it with a `FormGroup`:
83
84
```ts
85
-import { FormGroup } from '@ngneat/reactive-forms';
+import { FormGroup, FormControl } from '@ngneat/reactive-forms';
86
87
interface Profile {
88
firstName: string;
@@ -111,7 +111,7 @@ profileForm.patchValue({ firstName: 'Netanel' });
111
Or alternatively, with the controls as the generic type:
112
113
114
115
116
interface ProfileControls {
117
firstName: string; // Note that for primitive types the type "FormControl" is infered, so no need to write that.
0 commit comments