treejs icon indicating copy to clipboard operation
treejs copied to clipboard

Cannot convert undefined or null to object

Open DarthSonic opened this issue 3 years ago • 0 comments
trafficstars

Uncaught TypeError: Cannot convert undefined or null to object at Function.entries () at t.default (tree-1.8.3.min.js:1:9571) at d.load (tree-1.8.3.min.js:1:3392) at new d (tree-1.8.3.min.js:1:2846)

I try to load from url but url is not requested at all.

const myTree = new Tree("#WzIndustry", {
    url: "@Url.Action("GetIndustriesWzAsJson", "Data")",
    method: "GET",
    values: null // selected values
});

DarthSonic avatar Nov 15 '22 10:11 DarthSonic