Closed
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
17.0.1 (of @angular/core)
Description
The commit for PR angular/angular#52935 changed the function signature for ɵɵrepeater
which is used to implement @for
control flow. It was part of @angular/core 17.0.4.
The signature removed a parameter, such that any control flow code present in Material 17.0.1 (such as used by MatPaginator) will break at runtime.
All that is needed to fix is a version bump to sync with @angular/core 17.0.4
Reproduction
StackBlitz link:
Steps to reproduce:
- Install @angular/core 17.0.4
- Install @angular/material 17.0.1
- Add MatPaginator
Expected Behavior
No error
Actual Behavior
main.js:50620 TypeError: newCollection[Symbol.iterator] is not a function
at reconcile (main.js:123167:65)
Environment
- Angular: 17.0.4
- CDK/Material: 17.0.1
- Browser(s): All
- Operating System (e.g. Windows, macOS, Ubuntu): All