mordant icon indicating copy to clipboard operation
mordant copied to clipboard

Support for select-all key in interactiveMultiSelectList

Open fabriziofortino opened this issue 1 year ago • 3 comments

I think this would improve usability when the user needs to select all or most of the elements (select all + deselect specific elements).

fabriziofortino avatar Nov 28 '24 15:11 fabriziofortino

I'm not 100% clear on what you're asking for. Can you give an example?

ajalt avatar Nov 29 '24 23:11 ajalt

something like:

Select one or more options
❯ • option 1
  • option 2
  • option 3
  • option 4
  • option 5
x toggle • a select all • ↑ up • ↓ down • enter confirm

by typing a all the options will be selected without the need to go one by one.

fabriziofortino avatar Dec 02 '24 14:12 fabriziofortino

I think it would be a nice addition indeed. For multi-select, sometimes we want everything.

In my case, I would like to preselect all items by default and allow unchecking them if necessary, so an "unselect all" or "deselect all" shortcut would be nice to have too.

joffrey-bion avatar Jul 31 '25 12:07 joffrey-bion