Skip to content

fix(19443): TieredMenu items should not ignore MenuItem.tooltip if provided#19444

Merged
mehmetcetin01140 merged 1 commit intoprimefaces:masterfrom
Cr3aHal0:fix-19443-tiered-menu-backward-compatibility-tooltip
Mar 2, 2026
Merged

fix(19443): TieredMenu items should not ignore MenuItem.tooltip if provided#19444
mehmetcetin01140 merged 1 commit intoprimefaces:masterfrom
Cr3aHal0:fix-19443-tiered-menu-backward-compatibility-tooltip

Conversation

@Cr3aHal0
Copy link
Copy Markdown
Contributor

Fixes #19443

It seems that recent versions of p-tieredmenu have broken how the tooltip can be provided to be spawned (in this case, through splitbutton). While tooltipOptions.tooltipLabel works, the previous format which is using MenuItem.tooltip will not lead to its content being rendered in a p-tooltip.

If tooltipOptions.tooltipLabel is the new format, maybe the document should be updated and the tooltip field marked as deprecated. Otherwise, this PR aims at re-enabling tooltip binding with the MenuItem.tooltip attribute.

Tests added to make sure both formats enable tooltip to show up

@mehmetcetin01140 mehmetcetin01140 merged commit 85a3d50 into primefaces:master Mar 2, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SplitButton - MenuItems Tooltip not showing

2 participants