Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

docs(ngRepeat): mention limitations of object iteration #13978

Merged
merged 1 commit into from
Feb 9, 2016

Conversation

Narretz
Copy link
Contributor

@Narretz Narretz commented Feb 8, 2016

Issue is tracked in issue Related #6266

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm.

1 similar comment
@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm.

@googlebot
Copy link

CLAs look good, thanks!

1 similar comment
@googlebot
Copy link

CLAs look good, thanks!

@googlebot googlebot added cla: yes and removed cla: no labels Feb 8, 2016
* objects, and will throw if used with one.
*
* If you are hitting any of these limitations, the recommended workaround is to convert your object into an array
* that is sorted into the order that you prefer before providing it to `ngRepeat`. You could
* do this with a filter such as [toArrayFilter](http://ngmodules.org/modules/angular-toArrayFilter)
* or implement a `$watch` on the object yourself.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder what it means to "implement a $watch on the object yourself". Any idea ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a watch that detects an object and then transforms it into an array?

@gkalpak
Copy link
Member

gkalpak commented Feb 8, 2016

LGTM

@Narretz Narretz force-pushed the docs-ngrepeat-objects branch from 08fed81 to 8872e1e Compare February 9, 2016 09:49
@Narretz Narretz merged commit 8872e1e into angular:master Feb 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants