halstack-react icon indicating copy to clipboard operation
halstack-react copied to clipboard

The text input is not prepared to be a search input

Open GomezIvann opened this issue 11 months ago • 2 comments

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.

GomezIvann avatar Jan 13 '25 14:01 GomezIvann

Thank you for opening an issue! 🚀

Our team will review it as soon as possible. In the meantime, please make sure that you've provided all the necessary details to help us understand and address the issue effectively.

Feel free to contribute and participate in discussions!

github-actions[bot] avatar Jan 13 '25 14:01 github-actions[bot]

This issue is stale because it has been open for 15 days with no activity. If there are no further updates or modifications within the next 15 days, it will be automatically closed.

github-actions[bot] avatar Jan 29 '25 01:01 github-actions[bot]