Skip to content

Selected Facet value is not applied to search filter after toggling another Facet #127

@JonasJW

Description

@JonasJW

Describe the bug 🐛
When having two Facets that are filterable, the state of a selected facet is lost when selecting another facet.

To Reproduce 🔍
I followed the steps in the getting started example exactly. With this setup, the following steps show the issue

  • Select a value of Facet A and apply filter
  • Select a value of Facet B and apply filter
  • Unselect the selected value of Facet B and apply filter
    -> Found results are completely unfiltered, filter state of Facet A is lost

Note, the checkbox of the selected value for Facet A is still checked.

Expected behavior 💭
After the above steps, it should still filter based on the selected value of Facet A

Environment:

  • OS: tested on iOS and Macos
  • Library Version 0.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions