You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
The text was updated successfully, but these errors were encountered:
I'm submitting a ...
What is the current behavior?
I am trying to implement the "boldenSuggestion" example from the docs, but I'm having issues with this.$refs.suggestComponent not being defined:
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Below is the code where I added the "suggestion-item" slot and the boldenSuggestion() js code to the "Simple example" from the docs:
When typining the input box, no suggestions are shown and the following JS error is thrown in Firefox:
and Chrome:
What is the expected behavior?
To see the suggestion list with the query highlighted
How are you importing Vue-simple-suggest?
import VueSimpleSuggest from 'vue-simple-suggest/lib'
)import VueSimpleSuggest from 'vue-simple-suggest'
)import VueSimpleSuggest from 'vue-simple-suggest/dist/es7'
)import VueSimpleSuggest from 'vue-simple-suggest'
)const VueSimpleSuggest = require('vue-simple-suggest')
)<script type="text/javascript" src="https://unpkg.com/vue-simple-suggest"></script>
)Please tell us about your environment:
The text was updated successfully, but these errors were encountered: