[Component: Tree] property `checkedKeys` not works if set before tree render.
See original GitHub issue- I have searched the issues of this repository and believe that this is not a duplicate.
Version
3.3.3
Environment
Chrome 65.0.3325.181
Reproduction link
Steps to reproduce
expected: click set data
button before set check info
button, it works fine.
unexpected: click set check info
button before set data
button, it doesn’t check any node.
What is expected?
the node with key specified in checkedKeys
property should be checked.
What is actually happening?
it doesn’t check any node.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Why is not tree checkboxes checked in the child component ...
Maybe you have to set the property checkedKeys and checkStrictly properly. checkedKeys : (Controlled) Specifies the keys of the checked ...
Read more >Tree - Ant Design
The Tree component is a way of representing the hierarchical relationship between these things. You can also expand, collapse, and select a treeNode...
Read more >Tree - Ant Design
Property Description Type Default
autoExpandParent Whether to automatically expand a parent treeNode boolean true
checkable Adds a Checkbox before the treeNodes boolean false
checkedKeys string |...
Read more >checkedKeys Not Refreshing TreeView in Kendo UI for Angular
Hi,. We are encountering an issue with the Kendo TreeView where it is bound to an array containing all checkedKeys.
Read more >Tree | Element Plus
A node's data is not fetched until it is clicked, so the Tree cannot predict whether a ... avoiding the render of the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
now it works. 😄
rc-tree@1.14.10 released