Replies: 2 comments
-
Use a combobox and pass the selection array through |
Beta Was this translation helpful? Give feedback.
0 replies
-
The proposed solution did not work for me. I used @simenkf how did you solve this in the end? |
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
-
I have a
v-autocomplete
where I lookup the typed search value (an address) as the user types (calling an AP, fetching addresses used for the items array). Whenever a user switches window or clicks outside the field (aka a blur/focus event), the search value is deleted/cleared. A use-case for us is that the we start typing the address, then switch to some other window or browser tab to check/recall what the full address was, and then return back to the app to complete the search query. However, now you need to start over (although previously fetched addresses are still in the items array).How can i make it so that the search query is only deleted when an item from the item list is clicked/selected?
I know
v-combobox
perhaps could solve this issue. However, I need the model-value to (an address object) to only ever be an item from the items-array, and withv-combobox
it changes the value is I type.Beta Was this translation helpful? Give feedback.
All reactions