primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Split button: tooltip for the items

Open koesper opened this issue 9 months ago • 1 comments

Describe the bug

There is no tooltip option for the items within the dropdown. If you set a tooltip like this: <p-splitButton title="tooltip"> It is visible whenever you hover over the button, the dropdown arrow or the dropdown menu.

setting it in the model doesnt work: <p-splitButton [model]="items"> this.items = [{ label: "Item in the dropdown", title: "does not work", tooltip: "also does not work", }]

There also is no template for the items in the dropdown

Environment

stackblitz, forked from the Splitbutton Basic example, tested on chrome dev 126.0.6468.2

Reproducer

https://stackblitz.com/edit/wcyfxh

Angular version

17.3.7

PrimeNG version

17.16.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

n/a

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

koesper avatar May 15 '24 13:05 koesper

#15598 will fix the tooltip problem on dropdown buttons.

For main button #15601

Sinan997 avatar May 17 '24 09:05 Sinan997