Open godfryd opened 1 month ago
Hi, could you use tooltipOptions
object and set tooltipLabel
?
this.items = [
{ label: 'Homee', icon: 'pi pi-fw pi-home', tooltipOptions: { tooltipLabel:'Test123' }},
{ label: 'Calendar', icon: 'pi pi-fw pi-calendar', tooltipOptions: { tooltipLabel:'Calendar' }},
{ label: 'Edit', icon: 'pi pi-fw pi-pencil', tooltipOptions: { tooltipLabel: 'Edit' }},
{
label: 'Documentation',
icon: 'pi pi-fw pi-file',
tooltipOptions: { tooltipLabel: 'Documentation' }
},
{ label: 'Settings', icon: 'pi pi-fw pi-cog', tooltipOptions: { tooltipLabel: 'Settingsl' }},
];
Describe the bug
Setting tooltip field is not working, no tooltip is displayed. The same applies to title field but there is a bug for that: https://github.com/primefaces/primeng/issues/15500
Environment
Reproducer
No response
Angular version
17.0.8
PrimeNG version
17.15.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.10.0
Browser(s)
No response
Steps to reproduce the behavior
Pick any example of tabmenu from the docs and add tooltip field to tab items list.
Expected behavior
Tooltip is displayed.