· Freelancer

Disable Button after One Click

Hello there,

I have a button that increases an app state variable on click, but it should only increase once. How can I disable the button after the first click?

3
5 replies