inputs icon indicating copy to clipboard operation
inputs copied to clipboard

Inputs.button reduce should be disabled for the duration of any returned promises in reduce

Open tomlarkworthy opened this issue 3 years ago • 1 comments

Quite often I have buttons driving async behaviour. Typically I want the button disabled while the async work is performed, to avoid double-submission and also provide the user with some feedback that their press was registered.

idea: I was thinking that if the reduce returns a promise, then that could be used to disable the button.

tomlarkworthy avatar Jul 01 '21 17:07 tomlarkworthy