How do you prevent multiple user clicks on a ion-button?

The button should be disabled until the current operation is complete.

This is for ionic framework v6.

You answered your own question. If you want it disabled until an operation is complete, then stick the disabled attribute in there.


Where buttonEnabled is your own variable tied into the operation. Consider leaving code snippets in the future to help members of the forum know how to help you.