Skip to content

Trim strings on search bar befor performing the query #987

Description

@Viterbo

Fixed here: #988

Describe the bug
If the user accidentally introduces a space after the string to search, the query returns no results. However, if you remove that space it works perfectly

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://www.teloscan.io/
  2. Enter the following text on the search bar: "USDT " (with a final space)
  3. See no results

Expected behavior
The component should trim() the string before performing the query

Screenshots
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions