Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display count of selected items when scrolling #61

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

jessarcher
Copy link
Member

This PR updates the multiselect prompt to display the number of selected items when the list is scrollable so that it's clear when other selected items aren't currently visible.

image

This is especially helpful when a multiselect has default values that may not all appear at the top of a list. The functionality from this PR will also be potentially helpful for #58.

I've opted not to include the count when the list doesn't contain enough items to scroll. E.g:

image

@taylorotwell taylorotwell merged commit 9f7800c into main Sep 8, 2023
5 checks passed
@taylorotwell taylorotwell deleted the multiselect-select-count branch September 8, 2023 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants