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

clear button reverse items order #1251

Open
lianee opened this issue Jan 9, 2025 · 0 comments
Open

clear button reverse items order #1251

lianee opened this issue Jan 9, 2025 · 0 comments
Labels

Comments

@lianee
Copy link

lianee commented Jan 9, 2025

Describe the bug
when using options removeItemButton and shouldSort:false, each time the clear button is used, the list is reversed.

To Reproduce
Steps to reproduce the behavior:

  1. the list is in order [3,2,1], not sorted since we specified shouldSort:false
  2. Click on clear button
  3. the list is now [1,2,3]
  4. select an item and click the clear button
  5. the list is again reversed: [3,2,1]

Expected behavior
The list order should not change

Choices version and bundle

  • Version: v11 latest
@lianee lianee added the bug label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant