Double click button problem

When i click button multiple times continuously , event trigger many times. How can i wait for first click event to be completed and meanwhile prevent the second click event ?

1 Like

Hi!
Try to use disableOnClick attribute for Button and invoke the setEnabled(true) method at the end of the event handler
(see documentation)

Regards, Irina

1 Like