-
Notifications
You must be signed in to change notification settings - Fork 23
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: Icons as suffix in form fields #121
Comments
If I understand correctly, you would like to use a random (appropriate) icon to appear in the autocomplete input. |
Exactly. It would work like the search, just without the red background: Maybe even inappropriate icons too... harrharr... |
The solution to this is relatively simple. <input sbbInput [sbbAutocomplete]="autocomplete" class="sbb-icon-hint"><sbb-icon-random-icon></sbb-icon-random-icon> However, I'm currently busy with refactoring the header and afterwards I will be busy with bugs. @Frenggi This seems to be a reasonable addition to the design system. Do you agree? |
@kyubisation Since we're using this in several places (filter panels too) I'll have a chat with our devs and see if we can provide a PR - provided @Frenggi decides this should be in the design system. What do you mean by contributing to the business typography? (sorry, if we've talked about this. I'm tired and can't remember... ;) ) |
Don't worry about it. I'm sorry for the limited support at the moment. I hope to improve this next year. In regards to "business typography"; This was a technical categorization. But that might have been wrong. Sorry about that. |
No worries about the support, I know you're giving it your best and - judging from the release times - doing it in your spare time. Let's wait for a UX feedback, and we'll see how we can take it from there. |
@Frenggi fyi |
Is your feature request related to a problem? Please describe.
We have multiple autocompletes next to each other in our filter panel and all look similar. They are grouped to help with understanding and orientation, but it's still hard distinguish them as the list grows. Adding an icon would let the user know at a glance what they are searching (waggon icon, station, people, ...)
Describe the solution you'd like
Set an optional icon for the autocomplete, styled like the search box
Describe alternatives you've considered
Using the label helps a bit, but still forces the user to read
Additional context
![grafik](https://user-images.githubusercontent.com/10527318/62216667-7842cf00-b3a9-11e9-859d-1db0e149d7ae.png)
The text was updated successfully, but these errors were encountered: