You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When passing suggestions to EuiSuggest, labelDisplay: "expand" property is not respected. The suggestion items are always rendered with fixed CSS class.
The text was updated successfully, but these errors were encountered:
Hi @jen-huang thanks for reporting. So I'm seeing two issues, first that labelDisplay is not getting passed to EuiSuggestItem when used on EuiSuggest. Second that in the Kibana issue you linked the problem is that the description is getting truncated. labelDisplay will only expand the label, it has no effect on the description. I'll put together a PR to try and come up with a solution to this.
@jen-huang a fix has just been merged into master. My suggestion for when it becomes available in Kibana is to pass descriptionDisplay="wrap" and labelWidth="40" (maybe try 30 too).
Example CodeSandbox
When passing
suggestions
toEuiSuggest
,labelDisplay: "expand"
property is not respected. The suggestion items are always rendered withfixed
CSS class.The text was updated successfully, but these errors were encountered: