-
Notifications
You must be signed in to change notification settings - Fork 2k
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
dom-repeat filter/sort needs to be able to observe parent scope #1572
Comments
Note that because of this limitation I am currently manually calling through to the private |
Since For now, the pattern will be for external dependencies of sort/filter, the user will need to observe those properties and call |
@kevinpschaaf How to call
??? |
Call that after you change any external dependencies to the |
Right now, the
dom-repeat
filter and sort only refire on array mutations or item subproperty changes with theobserve
attribute. However this ignores a very common use case for filtering and sorting: user-driven changes to filter. Imagine for instance a simple list of items with a "text search" filter:In this scenario, there is no way to make the template re-stamp when an external parameter changes (e.g.
q
in the example).The text was updated successfully, but these errors were encountered: