Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide custom value in currentRefinements of custom widget #221

Open
georgringer opened this issue Oct 10, 2024 · 1 comment
Open

Provide custom value in currentRefinements of custom widget #221

georgringer opened this issue Oct 10, 2024 · 1 comment

Comments

@georgringer
Copy link

Description

I am new to typesense and I am currently providing a custom widget for geosearch like you can find at https://codesandbox.io/p/sandbox/yz2nnnl61?file=%2Findex.js%3A45%2C13-45%2C25

Code looks pretty similiar but now I am facing the problem that I want to provide the search by the place search as refinement in the currentRefinement widget. Is that possible?

@jasonbosco jasonbosco transferred this issue from typesense/typesense Oct 10, 2024
@jasonbosco
Copy link
Member

I'm not familiar enough with this part of Instantsearch to answer this question, but based on what I know "refinements" usually refers to filters, so you might need to build a custom widget that has access to the full search state inside of Instantsearch, including the search term and use that to build a custom "current refinements" widget.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants