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

Don't reset invoicification form when submitting #992

Merged
merged 2 commits into from
Sep 5, 2024

Conversation

jotjern
Copy link
Member

@jotjern jotjern commented Sep 5, 2024

Bekk representative was complaining that when you click submit on the form seemingly all the form values disappear, making it seem like an empty form was submitted. This PR removes the form reset on submit. Since we redirect on success anyways, it is not necessary to reset the form when successfull, and if the submit fails it is also IMO better to keep the values.

Copy link
Member

@henrikhorluck henrikhorluck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EDIT: leste ikke kommentaren godt nok

@henrikhorluck henrikhorluck added this pull request to the merge queue Sep 5, 2024
Merged via the queue into main with commit f434102 Sep 5, 2024
6 of 7 checks passed
@henrikhorluck henrikhorluck deleted the feat/no-invoice-scares branch September 5, 2024 09:58
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

Successfully merging this pull request may close these issues.

2 participants