Suppressing Empty Option in Refinement Lists
TLDR Keith asked how to suppress an empty option in a refinement list. Jason provided instructions for using the transform items function to do so.
Dec 17, 2021 (25 months ago)
Keith
08:55 PMJason
08:57 PMJason
08:57 PMKeith
08:58 PMJason
08:59 PMHere’s the instantsearch.js version of transform items: https://www.algolia.com/doc/api-reference/widgets/refinement-list/js/#widget-param-transformitems
Keith
09:00 PMJason
09:00 PMTypesense
Indexed 3015 threads (79% resolved)
Similar Threads
Building Python Flask Search UI with Typesense
Rakesh had issues building a Python Flask based Search UI with typesense. Jason suggested alternatives to using npm/yarn, and provided an example. Rakesh confirmed the provided solution worked and later enquired on adding a product filter panel, which Jason addressed.
Configuring Filters in Instantsearch.js Custom Refinement List
John needed assistance configuring filters for a custom refinement list in Instantsearch.js. Jason advised creating separate dom elements and one `refinementList` widget per attribute.
Query on Menu RefinementList and Usage of Typesense with React-InstantSearch-Hooks
Dipankar wanted to refine menus using `react-instantsearch-dom` and inquired on Typesense's compatibility with `react-instantsearch-hooks`. Jason recommended using `connectCurrentRefinements` and confirmed Typesense's compatibility.