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

CheckTree深层嵌套checkbox选中异常 #3559

Closed
HanShuai-me opened this issue Jan 15, 2024 · 1 comment · Fixed by #3769
Closed

CheckTree深层嵌套checkbox选中异常 #3559

HanShuai-me opened this issue Jan 15, 2024 · 1 comment · Fixed by #3769

Comments

@HanShuai-me
Copy link

HanShuai-me commented Jan 15, 2024

What version of rsuite are you using?

latest

What version of React are you using?

^17.0.0 || ^18.0.0

What version of TypeScript are you using (if any)?

No response

What browser are you using?

Chrome

Describe the Bug

对于树中的组,进行深层嵌套,对checkTree的属性value设置最深层次子节点的value值,其上层组的checkbox选中异常

Expected Behavior

对于上述描述的错误,有解决方案吗,或者说我默认可以得到最深层次子节点的value值,将其设置给checktree的属性value后,可以使其上层组的checkbox全部选中√

To Reproduce

https://codesandbox.io/p/sandbox/naughty-leavitt-97ntwq

@simonguo
Copy link
Member

rsuite@5.61.0 版本中已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants