carbon-design-system / carbon

A design system built by IBM
https://www.carbondesignsystem.com
Apache License 2.0
7.86k stars 1.82k forks source link

MultiSelect doesn't checkmark initialSelectedItems in dropdown menu #797

Closed kylembrake closed 6 years ago

kylembrake commented 6 years ago

Detailed description

The MultiSelect / MultiSelect.Filterable components have an initialSelectedItems parameter that does not checkmark the the items in the dropdown menu.

Is this issue related to a specific component? MultiSelect / MultiSelect.Filterable

What did you expect to happen? What happened instead? What would you like to see changed? I would expect that the options I provide to initialSelectedItems would be checkmarked within the dropdown.

What browser are you working in? Chrome Version 66.0.3359.139

What version of the Carbon Design System are you using? "carbon-components-react": "^5.49.4"

Additional information

https://codesandbox.io/s/yj61j6mlqx

asudoh commented 6 years ago

Hi @kylembrake did you mean to enter this issue to https://github.com/carbon-design-system/carbon-components-react/issues? Thanks!

kylembrake commented 6 years ago

@asudoh I did, my mistake. It looks like there was an identical issue created 3 days ago. I'll share my codesandbox on that issue since it's labelled as needing reproduction steps. Thanks!

asudoh commented 6 years ago

OK thank you for your quick reply @kylembrake!