question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem with sortBySelector cssClasses

See original GitHub issue

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 😩

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
bobylitocommented, Oct 18, 2017

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.

2reactions
renanbronchartcommented, Oct 18, 2017

Thanks a lot !! It work with 2.2.0 !!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrading InstantSearch.js - Algolia
Upgrade templates# Found an issue? Starting from InstantSearch.js v4.46.0, string-based and Hogan.js templates are deprecated.
Read more >
Cannot read property '$' of undefined Error while using the ...
I'm trying to get all the data from Algolia so fro that I need to use instantsearch.js file of Algolia and also need...
Read more >
instantsearch.js - UNPKG
429, * CSS classes to add to the wrapping elements. 430, */. 431, cssClasses?: ... 492, * See: https://github.com/algolia/instantsearch.js/issues/790.
Read more >
supafolio-sdk - npm
cssClasses - (Object) - Allows the default css classes to be changed. ... sortBySelector({ container: "#sort-by-wrapper" options: [ { value: ...
Read more >
Custom Client Init w Algolia instant Search - JSFiddle - Code ...
Console error regarding this is normal since this is a sample data. ... var sortBySelector = instantsearch.widgets.sortBySelector({.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found