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

Form中的TreeSelect设置[nzCheckStrictly]="true",使用setValue设置默认值,TreeSelect的输入框中显示的选中Node不正常 #4364

Closed
W1821 opened this issue Oct 30, 2019 · 1 comment

Comments

@W1821
Copy link

W1821 commented Oct 30, 2019

Reproduction link

https://ng-zorro-antd-start-x91etn.stackblitz.io

Steps to reproduce

访问重现链接,可以看到TreeSelect的输入框就3个选中的。
当鼠标点击TreeSelect的输入框,弹出下拉选,输入框正确的显示设置勾选的4个Node

What is expected?

访问重现链接,可以看到TreeSelect的输入框有4个选中的。这4个选中的是我设置的默认值

What is actually happening?

访问重现链接,可以看到TreeSelect的输入框就3个选中的。

Environment Info
ng-zorro-antd 8.4.1
Browser Google Chrome 77.0.3865.120
@zorro-bot
Copy link

zorro-bot bot commented Oct 30, 2019

Translation of this issue:

TreeSelect provided in the Form [nzCheckStrictly] = "true", set a default value using the setValue, selected Node TreeSelect input box displayed abnormal

Reproduction link

[Https://ng-zorro-antd-start-xxnd6r.stackblitz.io] (https://ng-zorro-antd-start-xxnd6r.stackblitz.io)

Steps to reproduce

Access to reproduce the link, you can see TreeSelect input box on three selected.
When the input box TreeSelect mouse click, the pop-up drop-down option, enter the correct display settings box checked 4 Node

What is expected?

Access to reproduce the link, you can see TreeSelect has four input box selected. The four selected is the default setting I

What is actually happening?

Access to reproduce the link, you can see TreeSelect input box on three selected.

Environment Info
Ng-zorro-antd 8.4.1
Browser Google Chrome 77.0.3865.120

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

No branches or pull requests

3 participants