Tooltip for individual items in ListSelect

Hi,

Is it possible to have tooltips for individual items in a ListSelect component?

Thanks,
Daniccan VP

No, I don’t think that’s possible with the core framework. You’d need to make an entirely custom tooltip mechanism on the client-side. Well, perhaps it’s possible to do some sort of tooltips with pure CSS and :hover, but CSS is static, so you could not set the tooltip content from the server-side.

You could use Table instead and use Label components for the items, and add tooltips to those. There’s also the
TableTooltip
add-on, which could help. If option group is OK for you instead of ListSelect, you could use the
RichOptionGroup
add-on.

Thanks for your idea. Used table and label components and changed styles to make it look like a ListSelect component. Got the expected result.