ngx-select-ex: If 'items' contains no data, option-not-found template not showing

If you provide empty data set, option-not-found template not showing.

<ngx-select
    [items]="[]"
>

    <ng-template ngx-select-option-not-found>
         My super template not showing, if there are no items =(
     </ng-template>

</ngx-select>

This has its own logic, but It will be really nice to have some additional template in case we want to show something about an empty data set.

P.S. Thanks for the library!

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16 (10 by maintainers)

Commits related to this issue

Most upvoted comments

@optimistex, yeap, issue is fixed with your changes. Thanks!