Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debounce form submissions #25

Open
tjrivera opened this issue Oct 19, 2016 · 1 comment
Open

Debounce form submissions #25

tjrivera opened this issue Oct 19, 2016 · 1 comment

Comments

@tjrivera
Copy link
Contributor

Users have the tendency to double-click a button when saving or submitting a form, because of the nature of some form submissions (REDCap specifically) We're likely to have two requests submitted to our backend before the first is finished processing. This may also have an adverse effect on other datasources.

cc. https://github.com/chop-dbhi/biorepo-portal/issues/71

@tjrivera
Copy link
Contributor Author

Possible solution may be to set the disabled property on the submit button(s) to true when the XHR is greated and set it back to false when the XHR is done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant