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组件在没有数据时能否和Select组件没有数据一样出现那种No Data的面板 #4562

Closed
ChaoQunPeng opened this issue Dec 15, 2019 · 0 comments · Fixed by #4565

Comments

@ChaoQunPeng
Copy link

ChaoQunPeng commented Dec 15, 2019

What problem does this feature solve?

Cascader在没有数据时没有像Select没有数据时有一个反馈,这会让人产生困惑

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

What does the proposed API look like?

大概是 @input() nzNoData:TemplateRef这种类型的

wzhudev pushed a commit to wzhudev/ng-zorro-antd that referenced this issue Dec 15, 2019
@wenqi73 wenqi73 added this to the 9.0.0 milestone Jan 8, 2020
wzhudev pushed a commit to wzhudev/ng-zorro-antd that referenced this issue Jan 8, 2020
hsuanxyz pushed a commit that referenced this issue Jan 9, 2020
…4565)

* fix(module:cascader): fix not showing empty when there's no options

close #4562

* fix: fix style

* fix: fix dropdown style when there's no search result

* chore: remove garbage
Ricbet pushed a commit to Ricbet/ng-zorro-antd that referenced this issue Apr 9, 2020
…G-ZORRO#4565)

* fix(module:cascader): fix not showing empty when there's no options

close NG-ZORRO#4562

* fix: fix style

* fix: fix dropdown style when there's no search result

* chore: remove garbage
@hsuanxyz hsuanxyz mentioned this issue Apr 15, 2020
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
…G-ZORRO#4565)

* fix(module:cascader): fix not showing empty when there's no options

close NG-ZORRO#4562

* fix: fix style

* fix: fix dropdown style when there's no search result

* chore: remove garbage
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