Skip to content
New issue

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

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

Already on GitHub? # to your account

🐛 [BUG] when submitting a form you get redirected to the response, instead of the preventDefault with a toast #172

Merged
merged 5 commits into from
Jul 18, 2024

Conversation

create-issue-branch[bot]
Copy link
Contributor

Original issue description

Describe the bug
When you submit a form on the dashboard, instead of showing a toast, you are redirected to the json output of the api-endpoint.

To Reproduce
Submit a form on the dashboard

Expected behavior
show a success or error toast

Screenshots
image
image

Desktop (please complete the following information):
Chrome 126.0.6478.126 - Ubuntu 24.04 LTS

closes #171

@create-issue-branch create-issue-branch bot added the bug Something isn't working label Jul 17, 2024
@create-issue-branch create-issue-branch bot changed the title [BUG] when submitting a form you get redirected to the response, instead of the preventDefault with a toast 🐛 [BUG] when submitting a form you get redirected to the response, instead of the preventDefault with a toast Jul 17, 2024
@Adammatthiesen Adammatthiesen mentioned this pull request Jul 17, 2024
17 tasks
@Adammatthiesen Adammatthiesen marked this pull request as ready for review July 18, 2024 07:34
@Adammatthiesen Adammatthiesen requested a review from a team July 18, 2024 07:34
Copy link
Member

@dreyfus92 dreyfus92 left a comment

Choose a reason for hiding this comment

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

Nice catch, LGTM ✅

Copy link
Member

@jdtjenkins jdtjenkins left a comment

Choose a reason for hiding this comment

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

Alright go on then

@Adammatthiesen Adammatthiesen merged commit 45b1f43 into main Jul 18, 2024
1 check passed
@Adammatthiesen Adammatthiesen deleted the issue-0171 branch July 18, 2024 21:09
@create-issue-branch create-issue-branch bot mentioned this pull request Jul 23, 2024
17 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] when submitting a form you get redirected to the response, instead of the preventDefault with a toast
3 participants