-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
v16.9.0: p-megaMenu title property of each item in the [model]="items" does not work #14217
Comments
Hi, You can use itemTemplate to customize the menu item as you wish. Besides, I've checked the v14 and the |
I generate megamenu items fully in the typescript file - That was the only way to show some kind of tooltip in the [email protected] - title tooltip: |
At the risk of being a "me too" post... I ran into this issue as well during a recent upgrade from a 15.x version the 17.x release. I also have a menu configured completely in the .ts file which has I also confirmed with the stackblitz example from the documentation page, adding a What is interesting is that I see in the default itemTemplate defined in panelmenu.ts there is a provision for setting it:
However in the actual HTML that is rendered it just doesn't include this attribute 🤷♂️ |
Hi, So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you reopen the issue so we can include it in our roadmap? Best Regards, |
Describe the bug
In the [email protected] (and probably every primeng 16 version - did not test before)
title
property which is filled in the TypeScript while initializingitems
array list is not working.Environment
Windows 10, Google Chrome Version 119.0.6045.160 (Official Build) (64-bit) up to date, Angular 16
Reproducer
https://stackblitz.com/edit/5lxh8n-drmabs?file=src%2Fapp%2Fdemo%2Fwrapper.component.ts
Angular version
16.2.0
PrimeNG version
16.9.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.18.0
Browser(s)
No response
Steps to reproduce the behavior
p-megaMenu
itemExpected behavior
Tooltip
title
should be appearing. This had worked in the PrimeNG 15.2.0 (confirmed) which I've used in the development and production environment.The text was updated successfully, but these errors were encountered: