-
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
[EuiSelectable] onFocusBadge
should be customizable per item
#4361
Comments
👋 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. |
👋 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. |
❌ We're automatically closing this issue due to lack of activity. Please comment if you feel this was done in error. |
onFocusBadge
is currently aboolean
or a custom badge. For Kibaba, where we have multiple item types, we need a custom badge per item.Would be good if
onFocusBadge
supported passing in a callback which could run on each option to create a custom badge. Alternatively, maybeonFocusBadge
needs to be moved into the rendered option itself and not be something managed by EuiSelectable? Rather, anoption
gets aisFocused
flag passed into it?Multiple ways to accomplish this probably.
The text was updated successfully, but these errors were encountered: