mordant
mordant copied to clipboard
Support for select-all key in interactiveMultiSelectList
I think this would improve usability when the user needs to select all or most of the elements (select all + deselect specific elements).
I'm not 100% clear on what you're asking for. Can you give an example?
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.
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.