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
{{ message }}
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
If a Dropdown transitions between different modes (i.e. single -> multiple, no search -> search) it breaks. You can workaround the issue by first unmounting it and then rendering it anew with the desired props, but that's brittle and surprising. It looks like the issue has to do with how auto controlled state is managed.
Steps
Render a dropdown with multiple=false
Re-render the same dropdown multiple=true
Observe the runtime error.
Expected Result
Dropdown should have switched modes, i.e. from single to multiple selection.