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

Tree组件在未来的版本中能否将子节点的checkbox的选中状态对外暴露一个受控属性 #28115

Closed
1 task
poordagandhercat opened this issue Dec 1, 2020 · 2 comments

Comments

@poordagandhercat
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

比如子节点的checkbox可以实现单选

What does the proposed API look like?

你们都是大哥,你们看着办

@afc163
Copy link
Member

afc163 commented Dec 1, 2020

使用 checkedKeys 进行控制即可,比如单选的话,控制 checkedKeys 的长度不超过 1。

@afc163 afc163 closed this as completed Dec 1, 2020
@poordagandhercat
Copy link
Author

poordagandhercat commented Dec 1, 2020 via email

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

2 participants