Struggling with currentRefinedValues
See original GitHub issueHi there,
I´m trying to show the currentRefinedValues in the facet column with the currentRefinedValues widget. Displaying and functionality is fine, but I can´t customize the options for that widget. According to the documentation for my understanding this should work:
me.search.addWidget(
instantsearch.widgets.currentRefinedValues({
container: '#currentRefinedValues',
clearAll: 'after',
options: [{
cssClasses: [{
root: 'xxx',
body: 'bodytest',
clearAll: 'clearAllTest',
item: 'filter--active'
}],
templates: [{
header: '<h1>test</h1>'
}],
}]
})
);
However, the “root” options (clearAll, container) work as expected but the parameters in the “options” array are completely ignored.
Has anybody a hint for me what is wrong with my configuration?
Thanks a lot, Synonymous
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
currentRefinedValues not clearing - Open Q&A
I'm using the instantsearch.widgets.currentRefinedValues widget but for some reason it doesn't clear the refined values I've set by default (via ...
Read more >algolia/instantsearch: connectMenu refine() remove current ...
The reason why I'd like to do this is because otherwise currentRefinedValues widget shows an attribute as refined even if it's not.
Read more >Fire Science Degree Programs in South Carolina: Firefighter ...
With plenty of variety for career and volunteer firefighters in municipal and rural areas, plus training opportunities for those interested in wildland ...
Read more >Fire Science Degree Programs in Florida | Firefighter Training (2022)
currentRefinedValues ({ container: '.algolia-ipeds ... To stay current on fire-fighting conditions in the state, firefighters may also look to the Florida ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @synonymous1984, inside item template to easily see what are the options you can do item: function() {console.log(arguments)}
Closing for now. The V2 documentation tries to be more exhaustive, if it’s still not enough we’ll work harder 😃