Multiple click on menu item

Hi team,
when I’m working on a DB issue, I found that if I click a menu item very fast, most of the events will be packaged into one request and send to the server which cause server to execute same logic many times. my question is if there is any switch to prevent this?

Thanks for your time

Hi Greg,

Is it a Button you are using - it has a method setUseResponsePending which will disable the button while waiting for the server response.

Hi Mark,
Actually not button, it’s side menu item.