inputs
inputs copied to clipboard
Inputs.button reduce should be disabled for the duration of any returned promises in reduce
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.