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

Clear Add Donation Form After Pressing Submit #38

Open
AdrianAndersen opened this issue Nov 24, 2022 · 0 comments
Open

Clear Add Donation Form After Pressing Submit #38

AdrianAndersen opened this issue Nov 24, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@AdrianAndersen
Copy link
Contributor

Currently, when pressing submit in the create donation form, the input fields are not cleared immediately, and there is nothing stopping you from pressing submit again. This results in duplicate donations, which is really bad for the donation statistics.

To fix this, disable the button after submission, and clear the input fields immediately.

image

Here is an example of how the data will look if the duplicates are not handled:
image

@AdrianAndersen AdrianAndersen added the bug Something isn't working label Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant