Menubar no long supports MenuItem title. Component: MenuBar
Describe the bug
In an older versions of Menubar, the menu item title will get displayed as a tooltip, but currently the menu item title is completely ignored and I don't see any other ways to display tooltips.
Environment
Angular App
Reproducer
No response
Angular version
17.0.8
PrimeNG version
17.2.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20
Browser(s)
Chrome
Steps to reproduce the behavior
Assign the MenuItem title a value and then add that menuitem to a menubar. When you hover over the menuitem, a tooltip should be displayed.
Expected behavior
tooltip should be displayed
As far as I can see this in the source, title is no longer respected. You have to use tooltipOptions for displaying a tooltip.
As far as I can see this in the source, title is no longer respected. You have to use tooltipOptions for displaying a tooltip.
Correct, the source code references the TooltipOptions only, but I couldn't get that to work either.
Worked for me with 17.15.0 and the following: tooltipOptions: { tooltipLabel: 'this is my tooltip' }