-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow selecting all options in a
multiselect
(#147)
* Allow selecting all options in `multiselect` * Add test * Update type hint * Make it possible to pass custom label to select all option * Back out of this approach * Multiselect: Ctrl+A should select all options * Multisearch: Ctrl+A should select all options Although... Ctrl+A should only select all options when the user is in the context of the options, not when they're in the context of searching. * Add back Home & End keybindings * This change wasn't needed. * Formatting * Check if current matches are selected and only filter out current matches * Fix "unselect all" behaviour when options are a list Co-authored-by: Jess Archer <[email protected]> --------- Co-authored-by: Jess Archer <[email protected]>
- Loading branch information
1 parent
5fac84e
commit 9bc4df7
Showing
4 changed files
with
98 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters