Skip to content

[FilterBar]: Cannot hide all filter items in Adapt Filters dialog #6720

@azhu716

Description

@azhu716

Describe the bug

Hide all filter items in the Adapt Filters dialog, the operation doesn't take effect. The 'onFiltersDialogSave' callback returns the old value.

Isolated Example

https://stackblitz.com/edit/github-xrnfxw-zc2jpsdv?file=src%2FFilterBarExample.tsx

Reproduction steps

  1. Open the stackblitz example.
  2. Click 'Filters', hide all filter items and click 'OK'.
  3. The filterbar remains the same.
    image

Expected Behaviour

In Step3 all filter items should be hidden. It was possible in uwcr@1. The 'onFiltersDialogSave' callback should return an empty array for selectedFilterKeys.

Screenshots or Videos

No response

UI5 Web Components for React Version

2.4.0

UI5 Web Components Version

2.4.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

No response

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions