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

MultiSelect list doesn't show after filter is cleared on selection #238

Closed
Swivelgames opened this issue Mar 25, 2024 · 1 comment · Fixed by #240
Closed

MultiSelect list doesn't show after filter is cleared on selection #238

Swivelgames opened this issue Mar 25, 2024 · 1 comment · Fixed by #240

Comments

@Swivelgames
Copy link

Describe the bug
When using the MultiSelect, after a selection is made using the filter and the filter clears, the list doesn't reset. It requires the user to type and clear the filter manually to be able to see the whole list again.

To Reproduce
Steps to reproduce the behavior:

  1. Implement a MultiSelect
  2. Run your program
  3. When you get to a MultiSelect Prompt, type in to filter the list
  4. Select an item

Expected behavior
When the filter clears, the list should show all items again.

Actual behavior
Notice the filter clears, but the list doesn't reset. Typing in to filter the list again and deleting the filter manually then shows the whole list again.

Screenshots

  1. Initial List
    image

  2. Filter the list
    image

  3. Select an item (filter clears, but list doesn't reset)
    image

  4. Filter the list again
    image

  5. Backspace the filter to show the whole list again
    image

@mikaelmello
Copy link
Owner

Fixed on v0.7.4 :)

Thanks for reporting

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 a pull request may close this issue.

2 participants