Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Trouble parsing data #1

Open
flatmax opened this issue Aug 15, 2022 · 0 comments
Open

Trouble parsing data #1

flatmax opened this issue Aug 15, 2022 · 0 comments

Comments

@flatmax
Copy link

flatmax commented Aug 15, 2022

I'm trying to populate json data which has shallow objects inside it - the maximum key depth is 2, for example :
{
key1:data1,

key2:{
key3:data3,
key4:data4
}

}

I'm getting a replace error - see below.

I am including in my webcomponent like so :

import { WebTable } from 'dable/web-table.min.js';

web-table.min.js:1 Uncaught (in promise) TypeError: t.replace is not a function
at web-table.min.js:1:2708
at Array.map ()
at web-table.min.js:1:2687
at Array.map ()
at WebTable.populate (web-table.min.js:1:2678)
at web-table.min.js:1:4512

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant