-
Notifications
You must be signed in to change notification settings - Fork 121
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
vie-autosuggest props incorrect #153
Comments
interesting, this might be something they have changed across a major version. It would be useful to show exactly what you suggest to change here: https://codesandbox.io/s/github/algolia/doc-code-samples/tree/master/Vue%20InstantSearch/multi-index-autocomplete Thanks! |
For some reason, I get a 403 error when trying to access the sandbox, but the change I would suggest is moving the input change event out of the inputProps and instead use the @input event directly. so instead of :input-props="{ using: @input="refine" |
I'm having the same issue using |
Welcome @biancajemsten. Glad it helped you. |
Hi,
The docs show the following example code for vue-autosuggest:
<vue-autosuggest
:suggestions="indicesToSuggestions(indices)"
@selected="onSelect"
:input-props="{
style: 'width: 100%',
onInputChange: refine,
placeholder: 'Search here…',
}"
This does not seem to trigger 'refine'.
@input event does seem to trigger 'refine', as followed:
The text was updated successfully, but these errors were encountered: