Join Slack
Powered by
Hey everyone! What is the recommended way to trans...
# community-help
r
Ra
06/30/2022, 9:43 PM
Hey everyone!
What is the recommended way to transform a query string on-the-fly as the user types in the search box?
Using vue3-instasearch and the ais-searchbox does not seem to expose any method for this
https://www.algolia.com/doc/api-reference/widgets/search-box/vue/
. I found this in the instantsearch.js only
https://github.com/typesense/showcase-books-search/blob/9fef28b894c79240aebbd4ff5c4b8e0b06441dc9/src/app.js#L185-L191
j
Jason Bosco
06/30/2022, 9:44 PM
For vue-instantsearch you can use `search-function`:
https://github.com/typesense/typesense-vue-instantsearch-demo/blob/0b30a5b62fc938196c24658c1ea8727621d750de/src/App.vue#L21
Jason Bosco
06/30/2022, 9:46 PM
More info here:
https://www.algolia.com/doc/api-reference/widgets/instantsearch/vue/#widget-param-search-function
👀 1
✅ 1
r
Ra
06/30/2022, 9:53 PM
exactly what i was looking for, thanks!
👍 1
Open in Slack
Previous
Next