Replies: 1 comment
-
I'm fairly sure I don't understand the question. Can you rephrase it? If I understood you correctly, then this is how: data: {
src: async (query) => {
let data
await fetch(url + "&q=" + query, pm)
.then(foo)
.then(json => (data = json))
.catch(bar)
return data.baz
},
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I set
threshold
to2
and on begin my data src is empty. How can I fire ajax call to fetch data based on typed query ?Beta Was this translation helpful? Give feedback.
All reactions