Keep menu-item expanded after click
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
Hi,
Could you check your parent route links, like;
Also, your code must contain constructor, ngOnInit and updateActiveStateFromRoute() function parts in app.menuitem.component.ts file.
Could you check your parent route links, like;
Code: Select all
{
label: 'UI Kit', icon: 'pi pi-fw pi-star', routerLink: ['/uikit'],
items: [
{label: 'Form Layout', icon: 'pi pi-fw pi-id-card', routerLink: ['/uikit/formlayout']},
//other routes
}
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests