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-select: 延迟加载 nzNodes 会导致无法显示默认值 #1934

Closed
cipchk opened this issue Aug 7, 2018 · 1 comment
Closed

tree-select: 延迟加载 nzNodes 会导致无法显示默认值 #1934

cipchk opened this issue Aug 7, 2018 · 1 comment
Assignees
Labels

Comments

@cipchk
Copy link
Member

cipchk commented Aug 7, 2018

重现

https://stackblitz.com/edit/angular-ukbjqf?file=src%2Fapp%2Fapp.component.ts

原因

目前只会当 ngModel 变更时会触发 updateSelectedNodes,导致若延迟加载 nzNodes 时无法正确设置默认值。

@lock
Copy link

lock bot commented Aug 19, 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 Aug 19, 2019
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

2 participants