How is Button re-enabled when using setDisableOnClick(true)?

Hi!

If I call setDisableOnClick(true) on a Button, do I need to re-enable it manually after the click handlers have executed? I was expecting the button to enable itself automatically after event listeners have been called, but it doesn’t seem to work like that.

Best regards,
Thomas

Hi,

Developer needs to make it enabled again in his/her event listener. This should indeed be better documented. I made a patch for this:
https://dev.vaadin.com/review/12333

cheers,
matti