Observable list not updating in UI/View #764
ashrafmozhikkal
started this conversation in
General
Replies: 2 comments
-
If we add a new data into list, its updating. No problem. But when we update existing list, it is not updating in view. Kindly assist please. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is a typical issue with mobx and should be in docs. As far as I understand, the reason is that the element itself is not a store and is not reactive. You can try replaceRange method to update the list. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For a dynamic/Multi type observable list, the data is not updating in UI. But value is updated inside list for sure.
See my code below:
@observable
ObservableList totalTaxAmountList =
ObservableList.of([]);
Beta Was this translation helpful? Give feedback.
All reactions