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

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

Open
dotpointer opened this issue Aug 6, 2020 · 0 comments
Open

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

dotpointer opened this issue Aug 6, 2020 · 0 comments

Comments

@dotpointer
Copy link
Contributor

dotpointer commented Aug 6, 2020

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.

@dotpointer dotpointer changed the title Setting a node with properties does not work Pre-setting a node using property does not work Aug 6, 2020
@dotpointer dotpointer changed the title Pre-setting a node using property does not work Setting a node by property does not select item in list Aug 6, 2020
@dotpointer dotpointer changed the title Setting a node by property does not select item in list Setting a node by property does not select the node in list Aug 6, 2020
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