Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MegaMenu: click doesn't work #390

Closed
Pranen opened this issue May 23, 2016 · 1 comment
Closed

MegaMenu: click doesn't work #390

Pranen opened this issue May 23, 2016 · 1 comment
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@Pranen
Copy link

Pranen commented May 23, 2016

Hi,

Just upgraded to the newest version of primeng and wanted to migrate the megamenu.
I've added a command and an url to the items in the menu, but the click-handler (set a breakpoint there) was never called.

I hope I haven't configured wrong items - here are my navItems:

this.navItems = [ { label: 'Item1', items: [[ { label: 'Sub-item 1', command: (event) => { console.log('1', event); } }, { label: 'Sub-item 4', url: 'http://www.test.com' } ]], command: (event) => { console.log('link1', event); } }]

Regards,
Peter

@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label May 28, 2016
@cagataycivici cagataycivici added this to the 1.0.0-beta.7 milestone May 28, 2016
@cagataycivici cagataycivici self-assigned this May 28, 2016
@cagataycivici
Copy link
Member

We've done some improvements in beta7 regarding menus and I can't replicate this case with it, so marking as resolved.

atretyak1985 pushed a commit to Nanitor/primeng that referenced this issue Jul 18, 2020
[NNTR-349]Asset details -> Activity log, remove parenthesis from the item.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants