primereact icon indicating copy to clipboard operation
primereact copied to clipboard

ListBox multiselection should support metakey like Datatable

Open arnauddem opened this issue 2 years ago • 0 comments

[ ] bug report
[x] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Current behavior ListBox component support multiple selection, but each item must be selected one by one.

Expected behavior Implement multiple selection using metakey to extend selection from last selected item to another one including all items between them (using Shift+lick on windows for example). Implement multiple selection the same way it is on Datatable component to be consistent across primereact library.

It would be also nice to have a 'select all' / 'select none' key support.

  • See also: https://github.com/primefaces/primereact/issues/1097

  • React version: React 16.13.1

  • PrimeReact version: PrimeReact 6.5.1

  • Browser: all

  • Language: all

arnauddem avatar Sep 13 '21 12:09 arnauddem