[Bug] Validate and Trim Input Field #293
Labels
💻 aspect: code
Concerns the software code in the repository
🛠 goal: fix
Bug fix
🟩 priority: low
Low priority and doesn't need to be rushed
🏁 status: ready for work
Ready for work
Description
Currently, users can enter whitespace characters (spaces, tabs) in the search input field, which is not being handled properly. If the user submits the form with just whitespace, the form processes the input as a valid query. However, the form should treat input that contains only whitespace as invalid and display an error message, preventing submission.
Reproduction
Expectation
Environment
Additional context
This issue affects form validation for searches and user experience when submitting search queries.
Resolution
The text was updated successfully, but these errors were encountered: