When a function passed to `@click` returns a promise, the button will automatically toggle it's loading state on, and when promise resolves/rejects, it will toggle it off.
When a function passed to `@click` returns a promise, the button will automatically toggle it's loading state on click, and when promise resolves/rejects, it will toggle it off.
::: danger
The `<fw-button>` component does not have any promise rejection mechanism implemented. Make sure, that the `@click` handler never rejects.