-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
[4.0.0-beta.18] Virtualscroll gives "template for virtual item was not provided" #16725
Comments
was it working in beta.17? |
Yes it was. I have modified getComponent on my own system so the switch checks for the stringvalues and then it works again. I cannot find why the cell.type changed from numeric value to string. |
@henkkelder you are right! it's a bug, i am working in a fix a new tests for angular. |
fixes ionic-team#16725 fixes ionic-team#16432 fixes ionic-team#16023 fixes ionic-team#14591 fixes ionic-team#16050 fixes ionic-team#15587
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Bug Report
Ionic version:
[x] 4.x
Current behavior:
Error in console: Error: template for virtual item was not provided. No items or headers are shown.
Expected behavior:
Should show header and items.
Steps to reproduce:
Related code:
Other information:
In virtual-scroll.js, routine getComponent expects a numeric argument 'type'. But it is called with a string argument being 'item', 'header' or 'footer'. This results in an exception being thrown a line 41.
Ionic info:
The text was updated successfully, but these errors were encountered: