Page 1 of 1

error in serenity app-menu-component

Posted: 02 May 2018, 10:26
by Agitalys2014
Hi,
Im getting the following error in serenity app-menu-component in the p-scrollPanel component
compiler.js?dd9e:485 Uncaught Error: Template parse errors:
Can't bind to 'item' since it isn't a known property of 'ul'. ("uClick($event)"></a> </div> <p-scrollPanel #scrollPanel [style]="{height: '100%'}"> <ul app-submenu [ERROR ->][item]="model" root="true" class="layout-menu" visible="true" [reset]="reset"></ul> </p-scrollPanel> "): ng://**AppModule/AppMenuComponent.html@0:514
Can't bind to 'reset' since it isn't a known property of 'ul'. ("]="{height: '100%'}"> <ul app-submenu [item]="model" root="true" class="layout-menu" visible="true" [ERROR ->][reset]="reset"></ul> </p-scrollPanel> </div> "): ng:///**AppModule/AppMenuComponent.html@0:576
'p-scrollPanel' is not a known element:
1. If 'p-scrollPanel' is an Angular component, then verify that it is part of this module.
2. If 'p-scrollPanel' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("="#" class="sidebar-anchor" title="Toggle Menu" (click)="app.onToggleMenuClick($event)"></a> </div> [ERROR ->]<p-scrollPanel #scrollPanel [style]="{height: '100%'}"> <ul app-submenu [item]="model" root="true" cl"): ng:///**AppModule/AppMenuComponent.html@0:442
Appreciate any help with the issue.

Re: error in serenity app-menu-component

Posted: 02 May 2018, 12:48
by merve7
What are your versions(Serenity and PrimeNG)? We added p-scrollPanel in Serenity 5.2.0. Please, see the migration guide in documentation (https://www.primefaces.org/serenity-ng/#/documentation). You need to update some files.

Re: error in serenity app-menu-component

Posted: 19 Oct 2018, 16:19
by hrlocker
compiler.js:1021 Uncaught Error: Template parse errors:
Can't bind to 'item' since it isn't a known property of 'ul'. ("

<p-scrollPanel #scrollPanel [style]="{height: '100%'}">
<ul app-submenu [ERROR ->][item]="model" root="true" class="layout-menu" visible="true" [reset]="reset" parentActive="true"></u"): ng:///AppModule/AppMenuComponent.html@11:24
Can't bind to 'reset' since it isn't a known property of 'ul'. ("t: '100%'}">
<ul app-submenu [item]="model" root="true" class="layout-menu" visible="true" [ERROR ->][reset]="reset" parentActive="true"></ul>
</p-scrollPanel>

"): ng:///AppModule/AppMenuComponent.html@11:86

I'm also getting above error. Having alot of problems and have spent alot of time trying to incorporate template into project despite following the docs.
Versions: "primeicons": "1.0.0-beta.9",
"primeng": "6.1.2", and serenity-ng-6.1.1

Sharon