Skip to content
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

Cannot convert undefined or null to object #25

Open
DarthSonic opened this issue Nov 15, 2022 · 0 comments
Open

Cannot convert undefined or null to object #25

DarthSonic opened this issue Nov 15, 2022 · 0 comments

Comments

@DarthSonic
Copy link

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
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant