Closed brittanykvanvig closed 3 years ago
please let me know if you need any more details or the codebox case and I can try to provide those.
I am having same issue
can you create a reduced test case in Code Sandbox for easier testing and debugging?
in the meantime I believe rendering the component with a key
each time should resolve this issue
What package(s) are you using?
carbon-components
carbon-components-react
Detailed description
We are passing in initialSelectedItems to the component, and it doesn't always select the items correctly. The first time passing values works. The second time nothing is preselected (screenshots below). The third time, occasionally will show the 2nd option preselected, other times nothing is preselected like the second time.
Yes - MultiSelect.Filterable
Expected when passing initialSelectedItems, those items are selected in the component.
Chrome
7.16.0
IAM UI - no pressing dates.
Steps to reproduce the issue
Additional information
Screenshots or code
Notes