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

loadOptions always returns No sub-options #532

Open
ecuci opened this issue Aug 18, 2023 · 0 comments
Open

loadOptions always returns No sub-options #532

ecuci opened this issue Aug 18, 2023 · 0 comments

Comments

@ecuci
Copy link

ecuci commented Aug 18, 2023

My normalizer looks like this:
normalizer(node) { return { id: node.id, label: node.name, children: node.child?.data, }; }

and I use both LOAD_CHILDREN_OPTIONS and ASYNC_SEARCH

when I set at case of LOAD_CHILDREN_OPTIONS
this:
parentNode.child = { data: children };
or that:
parentNode.child.data = children;

and then
callback();

normalizer does not work and it says No sub-options all the time.

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