-
Notifications
You must be signed in to change notification settings - Fork 13.5k
bug: Filter in collection-repeat doesn't work anymore #2735
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
Comments
Here's a couple of codepens showing the issue. I am finding it's only an issue using Angular's one way bindling. When I don't use the "::" it seems to still work OK. |
So perhaps I'm being silly, I think I have the ng-repeat with one time binding wrong. Perhaps this shouldn't even work. |
So I think I was using the wrong syntax for one time binding when using ng-repeat. I should have been using @tchavot As for your original query I seem to have filter in collection-repeat working OK. Please see the codepen here which covers a variety of implementations, some right, some wrong, which also shows the filter investigation results. http://codepen.io/toddhalfpenny/pen/NPrbOQ |
@tchavot - can you provide any more info and put together a codepen example. @toddhalfpenny - thanks for putting together that example. It seems this is more of a problem with angular. The responses at angular/8605 may be helpful. |
@drewrygh - Yes, it looks like it is. Thanks for the link. |
Just resolved the issue by initializing scope variables used in filter |
Works fine for me. Don't use bindonce with collection repeat. I'll add a note to the docs. |
Type: bug
Platform: all
Filter in collection-repeat doesn't work anymore after updating to beta 14
The text was updated successfully, but these errors were encountered: