-
Notifications
You must be signed in to change notification settings - Fork 842
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
[EuiComboBox] Allow custom render of selected items #2358
Comments
We discussed this, and the best way to handle it is to use the same render method as provided for the options (if possible, have to look at the code) or just provide another custom render method for the selected option. |
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment. |
Bump - this is still valid. |
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment. |
Bump - this is still valid. |
This issue is now open for 2 years. Is there any work planned or workaround avalaible? |
Closing this old issue in favor of #5628 which contains working screenshots and a workaround until we can solve it internally. |
Reopening as this is more representative of the work we'd like to do, rather than #5628 |
An update on the approach taken for this issue. Based on the requested use-cases, we've decided to resolve this request (made by @shahzad31 and other Elastic teams) via copying EuiSelectable's The largest reason for this is because All the mentioned Kibana use cases have primarily been around adding icon rendering, which |
Right now the combobox allows you to pass a custom render for the options in the list but you can't replicate that render in the input itself when an option is selected.
Example: Icon list
It would be very beneficial to also show the icon in the input.
Both Maps and Graph use this icon selection technique.
The text was updated successfully, but these errors were encountered: