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
The multi-select mode adds great features to the components like keeping the drop-down open when selecting items. But it adds/removes the selected item to the value internally. This makes it difficult to extend the behaviour (have to always use single mode).
Would be great if there could be a select all list option. Also the ability to prevent certain items being selected/removed.
Using single mode also means having our own state for opening/closing the drop-down (in order to prevent closing when selecting multiple items). We then lose the click outside to close. Would be great to be able to reuse the internal logic for this.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The multi-select mode adds great features to the components like keeping the drop-down open when selecting items. But it adds/removes the selected item to the value internally. This makes it difficult to extend the behaviour (have to always use single mode).
Would be great if there could be a select all list option. Also the ability to prevent certain items being selected/removed.
Using single mode also means having our own state for opening/closing the drop-down (in order to prevent closing when selecting multiple items). We then lose the click outside to close. Would be great to be able to reuse the internal logic for this.
Beta Was this translation helpful? Give feedback.
All reactions