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

Cascader: 使用 nzLoadData 后无法重置值 #3480

Closed
cipchk opened this issue May 23, 2019 · 1 comment · Fixed by #3481
Closed

Cascader: 使用 nzLoadData 后无法重置值 #3480

cipchk opened this issue May 23, 2019 · 1 comment · Fixed by #3481

Comments

@cipchk
Copy link
Member

cipchk commented May 23, 2019

重现

https://stackblitz.com/edit/angular-ofsted?file=src/app/app.component.ts

  • 等待加载完成
  • 点击Reset,值被清空,但文本依然显示上一次值,当再一次点击 cascader 时文本才会被清空

环境

  • ng-zorro-antd latest
  • chrome latest
@ng-zorro-bot
Copy link
Collaborator

Translation of this issue:


Cascader: Unable to reset value after using nzLoadData

Reproduce

Https://stackblitz.com/edit/angular-ofsted?file=src/app/app.component.ts

  • Waiting for loading to complete
  • Click Reset, the value is cleared, but the text still shows the last value, and the text will be emptied when you click on cascader again.

surroundings

  • ng-zorro-antd latest
  • chrome latest

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