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

halfChecked is invalid in value props when set treeCheckStrictly about treeSelect #18754

Closed
1 task
shiliangchengdd01 opened this issue Sep 10, 2019 · 1 comment
Assignees

Comments

@shiliangchengdd01
Copy link

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

TreeSelect 设置treeCheckStrictly, value的值设置为[{value: '0-0', label: 'Node1', halfChecked: ['0-0']},{value: '0-0-1', label: 'Child Node1'}],这时候,Node1节点并没有半选。

What is expected?

value的值设置为[{value: '0-0', label: 'Node1', halfChecked: ['0-0']},{value: '0-0-1', label: 'Child Node1'}],这时候,Node1节点应该半选。

What is actually happening?

value的值设置为[{value: '0-0', label: 'Node1', halfChecked: ['0-0']},{value: '0-0-1', label: 'Child Node1'}],这时候,Node1节点并没有半选。

Environment Info
antd 3.23.2
React react 16.7.0
System 2.0
Browser Chrome 76.0.3809.132
@yoyo837
Copy link
Contributor

yoyo837 commented Sep 10, 2019

Duplicate of #18753

@yoyo837 yoyo837 marked this as a duplicate of #18753 Sep 10, 2019
@yoyo837 yoyo837 closed this as completed Sep 10, 2019
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

3 participants