I want to disable the button when my API is loading. How do I do that?
Every API/Queries in appsmith has an isLoading property associated with it. You can use that to disable the button. Just set the disabled
property of your button to the following snippet.
{{ Api1.isLoading }}