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 Component] the data obtained by public function getCheckedNodeList is wrong #1423

Closed
dknfeiov opened this issue May 10, 2018 · 2 comments
Assignees
Labels

Comments

@dknfeiov
Copy link

Version

0.7.0-beta.5

Environment

win7

Reproduction link

https://ng-zorro-antd-0-7-5-tree-checked.stackblitz.io/

Steps to reproduce

  1. see the link
  2. check the root node
    3 uncheck the root node

What is expected?

checkedList is empty

What is actually happening?

checkedList is not empty

Other?

in fact , i want know what meaning of the data returned by function "getCheckedNodeList"
every member must have been clicked by user and the isCheked attrbute is true ?

@dknfeiov
Copy link
Author

the reason is that data pass out before the isCheked value reset , as follows ,change the method call sequence to resolve
image

@lock
Copy link

lock bot commented May 11, 2019

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 11, 2019
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants