330
Views
3
Comments
Solved
Prevent multiple clicks on button in reactive web
Question
Application Type
Reactive

Hi All,

Is there any way to avoid multiple clicks on button without using ajax method as it is not there in  reactive web.

Thanks in advance

2018-10-29 08-31-03
João Marques
 
MVP
Solution

Hi Aditya,


The most easy and straightforward way is to use the Button Loading:


You can also implement this with any button, widget or link.

You will have to have a boolean variable and bind it to the Enable property of that widget and when clicking on that link, your logic should disable the button in the beginning and enable it in the end (don't forget to enable it as well if there is an exception). Something like this:


Kind Regards,
João

2022-12-03 12-19-54
Aditya C

Hi Joao,

I implemented this logic but it seems to be not working for me or I might have done something wrong.

At the page loading the button gets disabled.

2022-12-03 12-19-54
Aditya C


Hi Joao,,

I got the issue and resolved it. thnks 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.