Skip to content

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

@sahuguet

Description

@sahuguet

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/ .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions