Skip to content

Search text field replaces input with scientific notation number #2459

Description

@Wouter-M

I was trying to search for a partial uuid in the consumer groups and topics using redpanda console, and then i found that my input got magically converted into scientific number notation. It took me a while to realize it did that, and i was real confused why I couldn't find my topic. 😄

Steps to reproduce:

  1. Go to topics or consumer groups page
  2. Either paste or type in a string in the search field which has the format <numbers>e<numbers>, such as 1461e229

Observed behavior:
The text gets replaced with scientific number notation. For example: 1461e229 gets converted into 1.461e+232.

Expected behavior:
That my text is not replaced with scientific number notation, so it actually searches for what I typed in.

Note
If you search by typing in "1461e229" (with the quotation marks), then you can search for the literal string.
I'm not sure if it's intended behavior, but at least it can be made more clear that the value is automatically replaced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions