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

Prevent Receipt Search Page Reload #394

Merged
merged 1 commit into from
May 30, 2024
Merged

Prevent Receipt Search Page Reload #394

merged 1 commit into from
May 30, 2024

Conversation

artkolpakov
Copy link
Contributor

Description

Previously, pressing "Enter" keyboard key after typing a receipt search query on the receipt management dashboard caused the entire page to refresh due to default form submission behavior, leading to a confusing user experience. This PR fixes the issue by preventing the default page reload on search form submission.

Checklist

  • Ran the Black Formatter and
    djLint-er on any new code
    (checks
    will
    fail without)
  • Made any changes or additions to the documentation where required
  • Changes generate no new warnings/errors
  • New and existing unit tests pass locally with my
    changes

What type of PR is this?

  • 🐛 Bug Fix

Added/updated tests?

  • 🙅 no, because they aren't needed

Related PRs, Issues etc

Previously, pressing "Enter" keyboard key after typing a receipt search query on the receipt management dashboard caused the entire page to refresh due to default form submission behavior, leading to a confusing user experience. This commit fixes the issue by preventing the default page reload on search form submission.
@TreyWW TreyWW merged commit d3017ec into TreyWW:main May 30, 2024
10 checks passed
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.

bug: pressing "Enter" keyboard key refreshes page during receipt search in receipt management dashboard
2 participants