Replies: 5 comments 6 replies
-
Anyone have any suggestions for this? I can't get this to work either. |
Beta Was this translation helpful? Give feedback.
-
Basically you can try creating your own input template and append it and binding with v-model for the same 'search'
|
Beta Was this translation helpful? Give feedback.
-
Try this code: <script setup>
const search = ref()
const onInput = val => {
if (!val) return false
// Do Fetching Data Here
// val is search value
}
</script> <v-autocomplete
v-model:search-input="search"
:items="listData"
:loading="loading"
@update:search="onInput"
no-filter
/> |
Beta Was this translation helpful? Give feedback.
-
It's just |
Beta Was this translation helpful? Give feedback.
-
You need to use another v-model to know the selected value
|
Beta Was this translation helpful? Give feedback.
-
I tried different ways, I tried to read the code of the library as well, but I can not make it work.
The example here for the api search is not working
https://next.vuetifyjs.com/en/components/autocompletes/#api-search
Beta Was this translation helpful? Give feedback.
All reactions