I have a button in my LCA a that triggers an automation script when clicked. Naturally, when a user double clicks the button the script is triggered twice, which I would like to avoid.
Anyone knows a good way of preventing or ignoring the second click?
I don't believe it is possible with the generic button component. However, you could create a button through a grid component (with as data source a single row, which could come from a variable). From the item template of the grid component there is an option to add a case to disable the actions when IsBusy.
That's great. I'm actually using a grid component (could have mentioned that…).
I will check it out, thanks.