0

Tooltip on disabled button

asked 2017-03-28 23:58:32 +0800

JustinFrost gravatar image JustinFrost
139 1 6

updated 2017-03-29 00:00:00 +0800

I have noticed that when my button is disabled, the tooltip (a popup) will not display.

Is there any way to override this default behaviour and force the tooltip to display ?

The button is a custom component that extends the default zul.wgt.Button, so I can override methods in the javascript code if required.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-03-29 05:53:09 +0800

Darksu gravatar image Darksu
1991 1 4

Hello JustinFrost,

Since it is a custom component, i would make a custom default state by setting the css style to be similar to a disabled button.

Also would have to handle the events in case you want it to be enabled/disabled.

Best Regards,

Darksu

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2017-03-28 23:58:32 +0800

Seen: 33 times

Last updated: Mar 29 '17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More