Comments (5)
Hello @ntraykov
Unfortunately MeiliSearch does provide the min
max
value the widget requires to work properly. Nonetheless, you can set them manually to make the widget work.
This is the documentation of instantsearch.js about ais-range-input
. This is the workaround to make the slider work with instant-meilisearch
. It is the same workaround for both ais-range-input and ais-range-slider.
I hope this answers your question. Feel free to come back if it does not!
from meilisearch-vue.
@bidoubiwa Thanks a lot for your response! I managed to make it work. I've just put a big enough value. It is showing in the route but I don't care. It is filtering as expected. I've tried to get the intantSearchInstance from the ais-range-input but I wasn't able to fetch the hits. If I can I'll try to contribute to this as it would be useful and it is a cool feature.
from meilisearch-vue.
Thanks a lot @ntraykov. I'm closing this issue as it seems resolved. Feel free to re-open if you don't feel it is!
It would be a pleasure to have you contribute to this project :)
from meilisearch-vue.
It is working when I put random min and max values. But the problem is that when using routing when using range input, when the inputs are empty, the URL has a query param price=0,10000
. Usually Algolia takes min and max automatically from the hits but in my case I don't have access to the hits. And also the query param is not needed if there is nothing added by the user.
from meilisearch-vue.
Usually Algolia takes min and max automatically from the hits but in my case I don't have access to the hits. And also the query param is not needed if there is nothing added by the user.
Unfortunately, MeiliSearch does not provide a min and max. It is not possible to change the min
max
value dynamically :/
I don't see a good solution for you problem right now. You can vote here if you want it to be implemented faster in MeiliSearch!
from meilisearch-vue.
Related Issues (20)
- Make a Vue3 compatibility example HOT 6
- Update .code-samples.meilisearch.yaml
- Example not Working
- Search Issue - Unable to type fast [VUE JS] HOT 4
- Broken link on README HOT 2
- Add Typescript support HOT 2
- Vue widget geosearch leaflet map HOT 6
- Add Vue 3 sample to getting started code sample HOT 1
- Problem with ais-range-slider FACET STATS HOT 3
- ais-refinement-list display data to the user HOT 2
- Refine by specific attribute values HOT 1
- CDN vue-instantsearch plugin does not have the `install` function HOT 2
- Update code sand box links once changed
- Update gifs in nobel prizes to be less tham 7mb
- ais-sort-by is not working as expected HOT 3
- Example of sorting HOT 3
- Use search results in ais-instant-search HOT 6
- Remove nobel-prize demo
- Problems with search, letters disappear HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meilisearch-vue.