We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3624fad commit 974e9dcCopy full SHA for 974e9dc
README.md
@@ -157,6 +157,17 @@ const control = new FormControl('');
157
control.value$.subscribe(value => ...);
158
```
159
160
+### `validValue$`
161
+
162
+Similar to value$; Observes the control's value and **only** emits if the control is valid.
163
164
+```ts
165
+import { FormControl } from '@ngneat/reactive-forms';
166
167
+const control = new FormControl(null, [Validators.required]);
168
+control.validValue$.subscribe(value => ...);
169
+```
170
171
### `disabled$`
172
173
Observes the control's `disable` status.
0 commit comments