TreyWW / MyFinances

MyFinances is a web application that can help you as an individual, or team, manage your finances!
https://docs.myfinances.cloud
GNU Affero General Public License v3.0
85 stars 121 forks source link

bug: pressing "Enter" key refreshes page during client search in client management dashboard #383

Closed artkolpakov closed 1 month ago

artkolpakov commented 1 month ago

What version of MyFinances are you currently using?

v0.4.5-34

What device type are you currently facing the issue on?

Desktop

Describe the bug

In the Client Management Dashboard's user interface (frontend/templates/pages/clients/dashboard/), pressing the "Enter" key after typing a search query in the search bar causes the entire page to refresh. This action clears the search text and displays all clients instead of retaining the search results. While the dynamic search updates results correctly as each character is typed, the expectation for many users is that pressing "Enter" will submit the search, not refresh the page. This behavior leads to a confusing user experience.

Steps to Reproduce:

  1. Navigate to the Client Management Dashboard (/dashboard/clients/ route).
  2. Type a search query into the search bar.
  3. Press the "Enter" key on your keyboard.

ClientSearchBug

Expected Behavior: Pressing the "Enter" key should submit the search query and display the filtered results without refreshing the page.

artkolpakov commented 1 month ago

^ I plan to start working on resolving this bug. @TreyWW, has this proposed issue been approved?