Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to update the pagedArray if an underlying item model changes? #247

Open
lougreenwood opened this issue Jul 10, 2018 · 0 comments
Open

Comments

@lougreenwood
Copy link

I have a page which contains pagedArray, populated by many local models (filtered).

My UI allows a user to initiate an edit model, where they can update properties on the model.

When the model is updated, the pagedArray still displays the old result.

Is this a configuration issue on my part (i.e when properly configured, should pagedArray automatically update?), or a missing feature in the add-on?

After looking through issues, it seems that #183 may be related, but the proposed solution seems hacky. Ideally any system component which updates a model shouldn't be coupled to the implementation details of the pagedArray - this is what the store is for...

@lougreenwood lougreenwood changed the title How to update the pagedArray if the underlying item model changes? How to update the pagedArray if an underlying item model changes? Jul 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant