Hi,
I have a problem on instant search v2, select classes in instantsearch.widgets.sortBySelector doesn't work.
I try
search.addWidget(
instantsearch.widgets.sortBySelector({
container: '#results-sort',
indices: options.indices,
cssClasses: {
select: 'form-control'
}
})
);
And form-control class is not display.
Please I need help 馃槱
Thanks @renanbronchart for the issue. I am trying to reproduce the issue 馃憤
Which version of InstantSearch.js are you using? I've tried with our latest version and it seems to works.
Thanks for response, I use gem algoliasearch-rails for ruby on rails application.
And I use cdn https://cdn.jsdelivr.net/npm/[email protected]/dist/instantsearch.min.js for instant search.
Can you show me on example to use select classes in sortBySelector
I saw your example, actually this work at you, but not on my side :/
Do you have a link where I can see the behaviour? Maybe a jsFiddle with your code? That would be very helpful, thanks a lot. Feel free to reopen the issue if it's not working for you.
My bad, actually this has been fixed in 2.2.0 with https://github.com/algolia/instantsearch.js/pull/2423
If you upgrade it should be fixed.
Thanks a lot !! It work with 2.2.0 !!
Most helpful comment
My bad, actually this has been fixed in 2.2.0 with https://github.com/algolia/instantsearch.js/pull/2423
If you upgrade it should be fixed.