You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
lothern
changed the title
Only emit values if status is valid
Feature Request: Only emit values if status is valid
Aug 30, 2023
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
The text was updated successfully, but these errors were encountered: