Skip to content

clear button reverse items order #1251

@lianee

Description

@lianee

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions