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
Hi I started using this library and I found I needed to listen to current values quite often. This includes the initial value. this.formControls.someProp.valueChanges will only emit values when the value changes, not the initial value. It would be really nice if there was a stream available that would also emit the initial value.
Currently I just pipe valueChanges with startWith(this.formGroupControls.someProp.value), but this is tedious. It would be nice if ngx-sub-form could expose a stream that contains just that.
Maybe something like this.formControls.someProp.values$ could be made available in NgxSubFormComponent?
The text was updated successfully, but these errors were encountered:
@maxime1992 sorry for the late reply, but yes that issue seems to be exactly what I need! I'll close this issue.
Any idea when/if #86 will be resolved?
Hi I started using this library and I found I needed to listen to current values quite often. This includes the initial value.
this.formControls.someProp.valueChanges
will only emit values when the value changes, not the initial value. It would be really nice if there was a stream available that would also emit the initial value.Currently I just pipe valueChanges with
startWith(this.formGroupControls.someProp.value)
, but this is tedious. It would be nice if ngx-sub-form could expose a stream that contains just that.Maybe something like
this.formControls.someProp.values$
could be made available inNgxSubFormComponent
?The text was updated successfully, but these errors were encountered: