Posted: 10 Sep 2018 11:58 EDT Last activity: 18 Dec 2018 10:08 EST
Displaying tooltip/smart tip for a disabled button (on hover action) - 7.1.8
Hope everybody is doing well. Newbie to Pega platform. My requirement is to display a message(tooltip or smart tip) when user hovers over a button. The message should only be displayed when the button is disabled. When button is enabled, the message should not pop-up and do the regular operation it is programmed to do. I can achieve both functionalities separately(disabling the button and displaying the tooltip. Is there anyway we can combine these two operations?
Please let me know in which version you want to achieve this functionality, the reason being with every PRPC version a lot of new UI features get added and some requirement which is possible in one version might not be possible in another.
I'm not sure if there is an easy way to do this OOTB. It might be overkill (or perhaps the only option OOTB), but I imagine you could easily achieve this by having two different buttons with a visible when. One is always disabled with a tooltip. The other is a regular ol' button. Then you can show/hide each, pending the same disable when condition you are already using.