Can you please include a 'debounce' feature or improve the setDisableOnClick method for buttons (as I have a lot of older users who like to double-click everywhere, and the occasional user who sometimes accidentally double-clicks on buttons).
Something like:
setDebounceClick(long millis);
or overload the existing method, to re-enable it after X millis since clicking:
setDisableOnClick(long timeoutMillis);
or, preferably
setDisabledUntilServerReturns(boolean disabled); // Disables until componenteventlistener has returned
Any would provide a simply way to prevent accidental double-clicks. setDisableOnClick(bool) as it stands isn't really that helpful. This should really be applied to any clickable item in flow.
Can you please include a 'debounce' feature or improve the setDisableOnClick method for buttons (as I have a lot of older users who like to double-click everywhere, and the occasional user who sometimes accidentally double-clicks on buttons).
Something like:
or overload the existing method, to re-enable it after X millis since clicking:
or, preferably
Any would provide a simply way to prevent accidental double-clicks. setDisableOnClick(bool) as it stands isn't really that helpful. This should really be applied to any clickable item in flow.