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

If the tree selection box is disabled, the response state of the parent and child will be lost #3848

Open
1 task
rongj opened this issue Mar 24, 2021 · 0 comments
Labels

Comments

@rongj
Copy link

rongj commented Mar 24, 2021

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

Version

2.1.0

Environment

Reproduction link

Edit on CodeSandbox

Steps to reproduce

动态加载子级或者全部展示子级,如果是禁用disabled或者disableCheckbox状态的会父子级关联选中状态会丢失

What is expected?

即使是禁用状态也保留关联选中或半选中状态,逻辑像其他框架一样https://codepen.io/rongj/pen/xxgGrer

What is actually happening?

子级如果有未选中的项,不论是否可选择 父级的状态都没变化

@github-actions github-actions bot changed the title 树选择框如果是禁用状态会丢失父子级的响应状态 If the tree selection box is disabled, the response state of the parent and child will be lost Mar 24, 2021
@tangjinzhou tangjinzhou added the bug label May 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants