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

Climate Apps - Trim the search string in payload when excess space is given (at begining or end) #2735

Closed
omkar-em opened this issue Dec 11, 2024 · 1 comment · Fixed by #2733
Assignees
Labels
bug Something isn't working

Comments

@omkar-em
Copy link

Bug Description

In the Climate Apps application, when excess spaces are provided in the search string, the payload is not trimming the spaces. This causes unnecessary issues when making API calls or processing the search query.

Steps to Reproduce

  1. Navigate to the search bar in the Climate Apps application.
  2. Enter a search string with leading or trailing spaces.
  3. Submit the search request.
  4. Observe that the excess spaces are included in the payload, causing potential issues with the search processing.

Expected Behavior

The search string should be trimmed of excess spaces (leading and trailing) before being sent in the payload, ensuring accurate query processing.

Actual Behavior

Excess spaces are included in the search string in the payload, leading to unnecessary issues in search processing.

Figma

NA

Environment

  • Prod

Screenshots/Logs

NA

@omkar-em omkar-em added the bug Something isn't working label Dec 11, 2024
@kundanEminds kundanEminds linked a pull request Dec 11, 2024 that will close this issue
@kundanEminds
Copy link
Contributor

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants