Ion-popover: component can not display ion-components as content

Hi all

I’m using the Ionic popover component and it works so far:

  async presentFilterPopover(event: any) {
    const popover = await this.popoverCtrl.create({
      component: PopoverContentComponent,
      event,
      translucent: false
    });
    return await popover.present();
  }

But as long I use in the template of my PopoverContentComponent pure Html it works.
But when I use a Ionic component as content like:

<ion-list>
</ion-list>

I receive following error:

How can I use Ionic-components within the content of the popover?

Any idea?

Thx,
Oliver

I missed to add the PopoverContentComponent to the Module:

declarations: [PopoverContentComponent]
1 Like

You saved my day, thanks :grin: