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
I have a main form which need the reference list 'countryList'.
If the 'countryList' reference is reloaded, this form does a this.setState(this._getStateFromStores()).
Problem: If I am editing an item with this main form, and if another view reload the 'countryList' reference, I lose my current modifications in the main form because it reload its state from the store.
Expected behaviour
I would expect the store behaviour to do a getStateFromStore only for the updated nodes of the store, not for all my listening nodes.
Versions
Focus-core: 2.1.1
Focus-components: 2.1.7-1
The text was updated successfully, but these errors were encountered:
Unexpected behaviour
I have a main form which need the reference list 'countryList'.
If the 'countryList' reference is reloaded, this form does a
this.setState(this._getStateFromStores())
.Problem: If I am editing an item with this main form, and if another view reload the 'countryList' reference, I lose my current modifications in the main form because it reload its state from the store.
Expected behaviour
I would expect the store behaviour to do a getStateFromStore only for the updated nodes of the store, not for all my listening nodes.
Versions
Focus-core: 2.1.1
Focus-components: 2.1.7-1
The text was updated successfully, but these errors were encountered: