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
I'm populating the passing a list of suggestions to the data prop which get set in an async function.
Basically, I have a component that watches search, hits the api, and sets the suggestions which get passed to your component. But your component doesn't update list in your component until you re-trigger a focus event.
The workaround I'm using right now is creating a component that extends yours and just calls this.focus() whenever data changes. And then of course using this in place of the v-suggest component.
I'm populating the passing a list of suggestions to the
data
prop which get set in an async function.Basically, I have a component that watches
search
, hits the api, and sets the suggestions which get passed to your component. But your component doesn't updatelist
in your component until you re-trigger afocus
event.Component that uses v-suggest
The workaround I'm using right now is creating a component that extends yours and just calls
this.focus()
wheneverdata
changes. And then of course using this in place of the v-suggest component.Workaround component
I think you can probably just add this to your
methods.js
The text was updated successfully, but these errors were encountered: