cgkineo / adapt-list

A text component in which you can add list items.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error rendering in latest framework

joe-replin opened this issue · comments

In v5.15.2, I'm receiving the following error which is preventing my page from loading.
adapt.min.js:28168:1
Uncaught (in promise) TypeError: _items is undefined

Removing the list component fixes the issue.

Tested in Window 10 Firefox 90.0.2

You always need to post errors with unminified sourcecode / with sourcemaps enabled.
adapt.min.js:28168:1 Is a reference to a position in a minified file which doesn't give the line of error.

It could be here

{_items.map(({ _isActive, _imageSrc, alt, title, body }, index) =>

In which case it needs _items && _items.map

If this the AAT? Do you have _items setup in the JSON for the component?

Hello, the latest changes are good on my end. Thank you!