I’m using the currentRefinements widget with Vanilla JS instantsearch.js and I’m trying to change the category label value.
The currentRefinements widget has a transformItems function but not much documentation so I’m unsure how to change the labels using this function.
The only example in the docs is to put all the labels in uppercase but when I try the example code as a starting point it doesn’t work. (Uncaught TypeError: Cannot read property ‘toUpperCase’ of undefined)
Creating my own UI just to change some label value also seems like a bit of overkill.