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

Filters on arrays only work once. #21

Open
jyasskin opened this issue Nov 18, 2014 · 2 comments
Open

Filters on arrays only work once. #21

jyasskin opened this issue Nov 18, 2014 · 2 comments
Labels

Comments

@jyasskin
Copy link

See http://jsbin.com/goqisemeta/5/edit. The filters work on the first binding, but because of how Polymer expressions handle arrays, subsequent updates to the arrays don't run through the filters again, meaning that the UI ignores any changes to array objects.

@addyosmani
Copy link
Owner

You're absolutely correct. Marking as a bug.

@addyosmani addyosmani added the bug label Nov 29, 2014
@albeec13
Copy link

albeec13 commented Dec 5, 2014

Possible workaround is to make copies of arrays you modify, but that's clearly not the desired solution.

Ex: http://jsbin.com/fagipowore/2/edit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants