Skip to content

The text input is not prepared to be a search input #2138

@GomezIvann

Description

@GomezIvann

Although we have the text input suggestions prop, intended for this use case, our component is not adapted to be a proper search field.

  • It lacks the appropriate role="search" or type="input" HTML element.
  • Our current input must be marked rather optional or required, which neither of these options fits well for a search input, which is not part of a form (understanding form as a UI, not an HTML element).

My suggestion for this problem is to solve it by implementing a new DxcSearchInput component with all the specific functionality to fulfill all the requirements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestnon-closableThis task is exempt from becoming stale or automatically closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions