primeng
primeng copied to clipboard
TieredMenu:Tooltip property does not work on MenuItem
Describe the bug
When using a the TieredMenu and adding a tooltip to the menu items the tooltip does not show. If you use the tooltipOptions.tooltipLabel it works.
Environment
Production. Reproducable in stack blitz from the doc examples on PrimeNg documentation.
Reproducer
https://stackblitz.com/edit/gy48zd?file=src%2Fapp%2Ftiered-menu-basic-demo.ts
Angular version
17.3.7
PrimeNG version
17.6.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.13.1
Browser(s)
No response
Steps to reproduce the behavior
- Add a tooltip property to a menu item.
- Hover over menu item
Expected behavior
I would expect to see the tool tip on hover.
I believe this should be an input in the code:
You can also provide like this:
tooltipOptions: { tooltipLabel: 'SaulFein' }