Skip to content

EuiSearchBar doesn't support forward slashes when query prop is a string #1855

@justinkambic

Description

@justinkambic

Issue

The EuiSearchBar doesn't provide support for forward slashes when the query prop is provided as a string.

Example:

<EuiSearchBar query="url.full:https://www.elastic.co/" />

Proposed solution

The parsing code should:

  • support escaped forward slashes, i.e. http:\/\/somewhere.com\/
  • support verbatim strings, i.e. '"http://somewhere.com/"'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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