How to disable auto refinement for select on algolia instant search
See original GitHub issueI have this current code for integrated algolia ais-instant-search that working fine and i want to disable auto refinement on select input to keep list and when select to return hits for only this selected argument.
<ais-instant-search :search-client="searchClient" :index-name="ALGOLIA_INDEX_NAME" ><ais-menu-select :attribute="attribute" :limit="60"> <select class="select rm-raduis-select is-fullwidth" slot-scope="{ items, canRefine, refine }" :disabled="!canRefine" @change="refine($event.currentTarget.value)" > <option value="">All domain</option> <option v-for="item in items" :key="item.value" :value="item.value" :selected="item.isRefined" > {{ item.label }} </option> </select> </ais-menu-select> //hits display ... </ais-instant-search>
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
You can change the limit of categories using the “limit” prop, but there will always be a limit, the absolute maximum it can be set to is 1000
Thank a lot. it work like a charm. Now how to show all categories without limit please ?