Skip to content

Clear Add Donation Form After Pressing Submit #38

@AdrianAndersen

Description

@AdrianAndersen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions