Skip to content

When press Select All(Filtered) button, the previously selected value is deselected. #567

Open
@jung0han

Description

@jung0han

Describe the bug
When using the Custom Filter option, search for keywords, and press Select All(Filtered) button, the previously selected value is deselected.

https://react-multi-select-component.pages.dev/iframe?id=custom-filter--example-custom-filter&args=&viewMode=story

To Reproduce
Steps to reproduce the behavior:

  1. Select any value.
  2. Search by specific keyword.
  3. Click Select All (Filtered).
  4. The previously selected value is deselected and only the filtered value is selected.

Expected behavior
The previously selected value remains and the filtered value is added.

Screenshoot
Hnet-image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions