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
Is your feature request related to a problem? Please describe.
I came across a case where I needed to update the initial value of my form but without updating the current model with the same instance.
Describe the solution you'd like
It would be great if updateInitialValue() could and optional model as parametter.
This should do the trick :
In this context, this.model_initial and this.model doesn't have the same value :
this.store.pipe(select(/**/)).$.subscribe((v)=>{constmodel_string=JSON.stringify(v);// avoid read-only store issuesthis.model=JSON.parse(model_string);this.model_initial=JSON.parse(model_string);});
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I came across a case where I needed to update the initial value of my form but without updating the current model with the same instance.
Describe the solution you'd like
It would be great if updateInitialValue() could and optional model as parametter.
This should do the trick :
Describe alternatives you've considered
In this context,
this.model_initial
andthis.model
doesn't have the same value :The text was updated successfully, but these errors were encountered: