mardi 18 janvier 2022

How to locally filter a model and automatically respond to changes to model data?

I have a model that's fetched with store.find. It's a list of "tasks" and the user can filter these tasks by status and other properties. How do we keep the UI/component updated when the filter is applied and when properties are changed? Eg. Task list is filtered only to show completed tasks and the user changes the status of one the tasks from completed to in-progress. The task has to be automatically removed from the UI/component.




Aucun commentaire:

Enregistrer un commentaire