Files
Jessica Janiuk f86e0948f8 fix(core): Updates error to use RuntimeError code (#46526)
This updates the iterable differ error to use more up-to-date error
codes.

PR Close #46526
2022-06-28 00:29:54 -07:00

17 lines
537 B
Markdown

@name Missing Iterable Differ
@category runtime
@shortDescription Cannot find a differ for object in ngFor
@description
`NgFor` could not find an iterable differ for the value passed in. Make sure it's an iterable, like an `Array`.
@debugging
When using ngFor in a template, you must use some type of Iterable, like `Array`, `Set`, `Map`, etc.
If you're trying to iterate over the keys in an object, you should look at the [KeyValue pipe](/api/common/KeyValuePipe) instead.
<!-- links -->
<!-- external links -->
<!-- end links -->