Closed karlomikus closed 1 year ago
This seems to be a little too complicated so I went with a different route.
Now I have buttons that toggle filters
property on <ais-configure>
component, like this:
<ais-configure filters="id IN [1, 2, 3, 4, 5]" />
You can also see this related discussion here: https://github.com/algolia/instantsearch/discussions/5416
I have the following resource ids available as an array that I want to use as a refinement:
I'm currently using
toggle-refinement
component in the following way:This solution kinda works, but the issue is:
http://url.com/resources?toggle[id]=true
so you can't know what refinement is currently active:on="[]"
, the refinement is considered activecurrent-refinements
component can't distinct between 2 different refinements since they use the same attributeIs there a better way to implement multiple refinements by the same attribute with a known list of values?