Skip to content

Product Query: When first opening the advanced filters, “Products attributes” show an unexpected [0] #42497

@sunyatasattva

Description

@sunyatasattva

Describe the bug

When first opening the advanced filters dropdown menu on the inspector controls, the “Products attributes” item show an unexpected [0] next to the text, where the checkmark should be.

Once added and removed, the [0] does not show up again.

To reproduce

Steps to reproduce the behavior:

  1. Add a “Products (Beta)” block.
  2. Open the Inspector Controls and open the “Advanced Filters” dropdown menu.
  3. Notice the [0] next to the “Product attributes”.
  4. Add the “Product attributes” and remove them.
  5. Notice that the [0] is disappeared.

Expected behavior

Nothing should be there when the filter is not selected.

Screenshots

Screenshot 2022-12-20 at 12 05 36

Metadata

Metadata

Assignees

Labels

BugThe issue is a confirmed bug.KirigamiWC Store Editing (FSE)block-type: product-queryIssues related to/affecting all product-query variations.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions