Hi, The CommonModule - which could cause this error if missing - is imported in your SelectModule but there is no exports section, so I wonder how is imported the SelectComponent in the AppModule ? I think the SelectComponent should be exported in SelectModule which should be imported itself in the AppModule.
Regards, Arnaud. On Wednesday, 9 December 2020 at 10:37:15 UTC+1 [email protected] wrote: > Version 10.2.1 > ABP framework > > Hi, I'm adding a component to my navbar through ABP's NavItemsService. The > component works fine as such, but gives me the > "Can't bind to 'ngForOf' since it isn't a known property of 'div'." > error, when I try to use *ngFor in it. I've ensured my syntax should be > correct, and that data from the component is visible, but I'm just not sure > if I either: > *A:* Have configured my .module file correct, or > *B:* The component doesn't initialize the module, as it is loaded through > the NavItemsService. > > [image: Capture1.PNG][image: Capture2.PNG][image: Capture3.PNG] > > The reason for this is because I want to make a dropdown with a list that > is the length of whatever data I receive from a Db, with expandable and > more. > > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/angular/5c0910d4-4ffb-4ee2-80de-95eaa6258e4dn%40googlegroups.com.
