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
We do a check on the equality between the previous value of the form and the current one.
If we do not bind the input of a root form (in the case where we care only about the output like a filter) then the old value is never up to date and we can never emit again the default value (which is the case when we clear up the only value changed).
(as an internal reference within our CloudNC repo, @zakhenry check the commit 67be1969d14393ad4d7b4964ca68789f0b539f20 which contains the fix I raised about a month ago for our filter component)
In order to go around this, the input is required and whenever the output of the root form changes, it should come back as the input of it asap. Hence why I'm worried of #196
Not sure what we want to do here though, any idea is welcome.
The text was updated successfully, but these errors were encountered:
In both
v5:
ngx-sub-form/projects/ngx-sub-form/src/lib/ngx-root-form.component.ts
Line 46 in b8890b8
And v6:
ngx-sub-form/projects/ngx-sub-form/src/lib/ngx-sub-form.ts
Lines 151 to 167 in 274420a
We do a check on the equality between the previous value of the form and the current one.
If we do not bind the input of a root form (in the case where we care only about the output like a filter) then the old value is never up to date and we can never emit again the default value (which is the case when we clear up the only value changed).
(as an internal reference within our CloudNC repo, @zakhenry check the commit
67be1969d14393ad4d7b4964ca68789f0b539f20
which contains the fix I raised about a month ago for our filter component)In order to go around this, the input is required and whenever the output of the root form changes, it should come back as the input of it asap. Hence why I'm worried of #196
Not sure what we want to do here though, any idea is welcome.
The text was updated successfully, but these errors were encountered: