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

[Feature request]: Input type search cross icon to remove the search term instantly #2188

Open
3 tasks done
aram-yesildeniz opened this issue Feb 12, 2024 · 0 comments
Open
3 tasks done
Assignees
Labels
comp: angular Issues related to @sbb-esta/angular effort2: days prio3: medium Should be done when time available under consideration

Comments

@aram-yesildeniz
Copy link

Preflight Checklist

Request type

Request for enhancement of a component

Functionality

Hi, we would like to use the SBB Input Component within a form.
The user should be able to delete the whole search term instantly by clicking on a small cross icon at the end of the input field.

Usually the cross icon appears when adding type="search" to the input element.
But with the SBB Input element, the cross icon does not appear.

Is it possible to enable the cross icon for input type search?

Thanks

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search#differences_between_search_and_text_types

Link to design proposal file

No response

@mhaertwig mhaertwig self-assigned this Feb 15, 2024
@mhaertwig mhaertwig added under consideration effort2: days prio3: medium Should be done when time available comp: angular Issues related to @sbb-esta/angular labels Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: angular Issues related to @sbb-esta/angular effort2: days prio3: medium Should be done when time available under consideration
Projects
None yet
Development

No branches or pull requests

2 participants