Async DoneFunction in QSelect->onFilter->DoneFucntion #12407
-
|
Can we get an async of the done function in the QSelect? The ability to await a Essentially I want to use the done function, to run a live search to an API, return the search results, then populate the dropdowns new options from my API. https://v1.quasar.dev/vue-components/select#the-options |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
do your api call before it, meaning you can make your filter function async, await your api call inside, then call your doneFn when you receive the result. |
Beta Was this translation helpful? Give feedback.

do your api call before it, meaning you can make your filter function async, await your api call inside, then call your doneFn when you receive the result.
see this example that mimics it https://quasar.dev/vue-components/select#example--lazy-filtering or in v1 https://v1.quasar.dev/vue-components/select#example--lazy-filtering