Page 1 of 1

submenus not working

Posted: 05 Sep 2017, 06:25
by kmll
There must be something wrong with my installation. Out of the box, Poseidon works fine except for submenus on the left of the dashboard.
Each of the menu options has an arrow button that rotates fine. However, the menu does not expand or populate. I have removed the extra character referenced above and this removed the proliferation of errors. No other modifications made to Poseidon.
Your web site version works fine on my computer.
I am using
Windows 10;
Node.js version 8.4.0
NPM 5.4.0

anything you can offer to help would be appreciated.
Thank you.

Re: submenus not working

Posted: 13 Sep 2017, 10:27
by merve7
Please upgrade to PrimeNG 4.2.0 to fix this issue.

Re: submenus not working

Posted: 26 Sep 2017, 01:56
by kmll
That fixed it, works great ! :D

Re: submenus not working

Posted: 01 Dec 2017, 12:02
by cagatay.civici
Glad to hear.

Re: submenus not working

Posted: 16 Dec 2017, 08:23
by pranitkalbande
Hi I am getting same issue while using PanelMenuModule and I am using primeng v^5.0.2. Could you please provide solution on this or guide me how I can solve the issue. Below example shows where I am getting issue. I am able to see "Submenu1.1" when I click on "Menu1". But I am not able to see "Innermenu1.1.1" when I click on "Submenu1.1".

Example:

Menu1
  • Submenu1.1
    • Innermenu1.1.1
    Submenu1.2
Menu2
  • Submenu2.1
    • Innermenu2.1.1
    Submenu2.2

Re: submenus not working

Posted: 22 Dec 2017, 13:29
by merve7
Can you send your code and screen shot? I did not see any problems on live preview.

Re: submenus not working

Posted: 06 Jan 2018, 10:50
by pranitkalbande
HTML:

<div class="content-section implementation">
<p-panelMenu [model]="sideNav" [style]="{'width':'300px'}"></p-panelMenu>
<button pButton type="button" (click)="count()" label="Click"></button>
</div>

Component.ts:

import { Component } from '@angular/core';
import { SIDENAV } from './menu-list/sideNav';
import { MenuItem } from 'primeng/primeng';

@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {

sideNav: MenuItem[];

ngOnInit() {
this.sideNav = SIDENAV;
}
}

Re: submenus not working

Posted: 17 Jan 2018, 15:08
by merve7
Can you send me SIDENAV for I can see hierarchy?