Skip to content

Setting a node by property does not select the node in list #84

@dotpointer

Description

@dotpointer

It does not work to pre-select a node. The button shows that the node is selected, but when the button is clicked then the node is not selected in the list and it defaults to the root node.

To test on alpha go to a path locator beneath 1 using the URL (important), note that the button shows the path, then click on the button and note that the list is on the root node and the item on the button is not selected.

Not sure if the problem is in the component or in the front-end, but I found no way the data could flow from selectedNode to highlightedNode, only the opposite, and the format of the object coming in on selectedNode differs from what the iron-list sets on highlightedNode, where the first has a pathLocator propety but the second seems to use path for the same thing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions