Page 1 of 1

ngIf / ngFor not working in Poseidon template.

Posted: 26 May 2021, 12:57
by mthyden
I haven't been able to use tgif nor ngFor in any components of the Poseidon template.

After looking at stack and other resources I tried adding CommonModule to the import and declarations in App.Module.ts and even tried adding it locally in the component I'm trying to use it in without success.

What am I missing here?

Thanks

Re: ngIf / ngFor not working in Poseidon template.

Posted: 04 Jun 2021, 10:19
by merve7
Hi,
You can see examples ngIf in app.main.component.html and app.menuitem.component.ts files. If your problem still exists, could you send me your code?