RadListView not rendering template


#1

Hello,

Im trying to switch out my regular ListView to RadListView bit I can’t get anything to render.

This is my current code for the ListView:

<ListView
    [items]="lists$ | async"
    (itemTap)="onItemTap($event)"
    class="small-spacing"
    row="1">
    <template let-item="item">
      <Label [text]="item.name" class="medium-spacing list-item"></Label>
    </template>
  </ListView>

Im trying to to switch this to RadListView with this code instead:

<RadListView
    [items]="lists$ | async"
    (itemTap)="onItemTap($event)"
    class="small-spacing"
    row="1">
    <template tklistitemtemplate let-item="item">
      <Label [text]="item.name" class="medium-spacing list-item"></Label>
    </template>
  </RadListView>

But nothing renders. Im probably missing something obvious but I cant find it?


#2

Sorry guys, I missed the section about importing LISTVIEW_DIRECTIVES :sweat: