Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GomezIvann opened this issue Jan 13, 2025 · 1 comment
Open

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

GomezIvann opened this issue Jan 13, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@GomezIvann
Copy link
Collaborator

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.

Copy link

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!

@GomezIvann GomezIvann added the enhancement New feature or request label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant