How to set two attributes for a single RangeInput #6020
-
Hi, I have an application containing item listings where each listing has a minimumPrice and maximumPrice. So every object in my algolia database has a numeric minimumPrice and maximumPrice attribute. Now on my frontend, I want to apply a RangeInput that takes a min and max user input to refine a users search using both attributes instead of one. This is the way I want my implementation to work:
Would this be possible to do? I'd really appreciate any input on this. Thanks in advance! :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This is currently not possible, but what you can do is:
Here's a quite old sandbox that shows this idea implemented in the previous version of React InstantSearch: https://codesandbox.io/s/kwklo3rz63 |
Beta Was this translation helpful? Give feedback.
-
Any Vue examples? |
Beta Was this translation helpful? Give feedback.
This is currently not possible, but what you can do is:
connectRange
minAttr
maxAttr
Here's a quite old sandbox that shows this idea implemented in the previous version of React InstantSearch: https://codesandbox.io/s/kwklo3rz63