Custom component within a template

Hi,

I have a datalist linked to a dataset. In the template of the datalist item, I add a custom component. As soon as I specify the source for the component (any existing page), I get "Error rendering component customComponent0".

Am I doing something wrong?

Tks

Is it just in design time? Can you run the application normally?

when I run the application, the component simply don't appear. If I look in the code (.razor), I see the component however.. strange.