-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[AutoComplete] not rendering value in dataSource properly with v0.15.2 unless it's a MenuItem #4852
Comments
I confirmed the same behavior on my end with v0.15.2. Hopefully, this is not intentional. Seems very counter-intuitive to me. |
It's been 10 months since this issue ... has anyone had any success in this except the workaround of @realbugger...? |
This seems to still the case for me. I would very much like to style the items in the autocomplete as is pictured in the demonstration posted in the ticket, but I'm not sure what styling he's using for primaryStyle and secondaryStyle. Could someone post a bit more information on how to implement this workaround correctly? |
Closed by #4783 |
Olivier, what action do i need to take to have a workable AutoComplete? |
@DustinEwan if you follow the trail, you end up here: #7477 |
Description
Just upgraded from v0.15.1 to v0.15.2 and figured some of the list items in
dataSource
are not rendered properly. I want the item to show a Primary text and a secondary text under it. Here is how eachdataSource
item looks likewith v0.15.1, I got
Now with v0.15.2, the
value
node doesn't seem to be rendered properly. The list only contains thetext
.It seems the only workaround is to wrap the list with
MenuItem
like this.Now the items are rendered properly.
It looks like with the new version, I'm not able to use arbitrary node for
value
anymore. Is this intentional, or a bug introduced with the release?Steps to reproduce
To reproduce the issue, simply supply a
div
tovalue
, like my code above.Versions
The text was updated successfully, but these errors were encountered: