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

Not working when tree data is an array rather than a dict (e.g. for trees with >1 roots) #6

Open
sahuguet opened this issue Sep 17, 2021 · 0 comments

Comments

@sahuguet
Copy link

When the tree data is an array instead of a dict, the Dash component does not work
the_tree = { 'title': 'top', 'children': [ { 'title': 'kid1' }] } works.
the_tree = [ { 'title': 'top', 'children': [ { 'title': 'kid1' }] } ] does not.

The I tried to copy/paste the exact same trees as in the ant design examples. See https://ant.design/components/tree/ .

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