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

TreeSelect 组件 子节点 disabled 时父节点选中,子节点未自动选中,且父节点的全选逻辑变为未disabled 的子节点全选 #2651

Open
1 task
ShouHuaMeng opened this issue Apr 23, 2024 · 0 comments

Comments

@ShouHuaMeng
Copy link

Basic Info

What is expected?

父节点选中即使子节点被disabled也会被自动选中,且父节点是否全选需要计算被 disabled 的子节点是否选中

Steps to reproduce

  • TreeSelect 默认值选中 子节点,同时该子节点被 disabled,此时该子节点是被选中的
    image

  • 选中该节点的父节点的全部子节点,会发现原本默认选中的被 disabled 的子节点没有被选中了,且父节点变成了全选的状态
    image

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