We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No response
Note: StackBlitz template is outdated, points to v15.x, but this is present in 16.0.4 also.
If you iterate over a key-value collection using *ngFor inside a *cdkVirtualFor, you encounter a compile error.
*ngFor
*cdkVirtualFor
This error does not occur if you use *ngFor nested inside *ngFor.
StackBlitz link: https://stackblitz.com/edit/components-issue-kfvxis?file=src%2Fapp%2Fexample-component.html Steps to reproduce:
CdkVirtualFor should be a drop-in replacement for NgFor.
Object is of type 'unknown'. error.
Object is of type 'unknown'.
The text was updated successfully, but these errors were encountered:
I suspect this is the same root cause as #26609 where we don't have proper typings for the virtual for context yet.
Sorry, something went wrong.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
No branches or pull requests
Is this a regression?
The previous version in which this bug was not present was
No response
Description
Note: StackBlitz template is outdated, points to v15.x, but this is present in 16.0.4 also.
If you iterate over a key-value collection using
*ngFor
inside a*cdkVirtualFor
, you encounter a compile error.This error does not occur if you use *ngFor nested inside *ngFor.
Reproduction
StackBlitz link: https://stackblitz.com/edit/components-issue-kfvxis?file=src%2Fapp%2Fexample-component.html
Steps to reproduce:
Expected Behavior
CdkVirtualFor should be a drop-in replacement for NgFor.
Actual Behavior
Object is of type 'unknown'.
error.Environment
The text was updated successfully, but these errors were encountered: