Feature Request: Only emit values if status is valid
lothern opened this issue · comments
Description
Love this project! I find it superior to the typed forms in Angular 14 and really appreciate your authoring/maintaining of this library. Thank you!
I use RxJS heavily in my projects and I very often observe the value of your typed AbstractControl via the value$ property, and that works great. I have recently encountered a situation where I would like to only receive emitted values if the status of the AbstractControl is valid.
Proposed solution
Add new property validValue$
which emits a value only if the control is valid.
Alternatives considered
Considered implementing outside the library, but that burdens users with the unnecessary details of implementing it themselves.
Do you want to create a pull request?
Yes