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 using 2.4.1 version with Vue 2.6.14. I have an autocomplete form which works perfectly :
`
<autocomplete
ref="model"
required
:search="onSearchModel"
:get-result-value="getResultValue"
:defaultValue="modelName"
:autoSelect="true" @submit="onSelect" @keydown="keyPress"
>
`
I have some models preview on the same page and I want to change the input value when I click on it.
So if I want to search with the input I can but I can also select one model and I want the input to reflect this selection.
I succeed in changing the modelSelected and modelName value by clicking on a model preview but the input value does'nt change. How can I do to change it without refresh the page of course?
The text was updated successfully, but these errors were encountered:
I'm using 2.4.1 version with Vue 2.6.14. I have an autocomplete form which works perfectly :
`
<autocomplete
ref="model"
required
:search="onSearchModel"
:get-result-value="getResultValue"
:defaultValue="modelName"
:autoSelect="true"
@submit="onSelect"
@keydown="keyPress"
>
{{ result.name }}
<input type="hidden" :name="'model_id'" v-model="modelSelected" required @input="$emit('input', $event.target.value)">
`
I have some models preview on the same page and I want to change the input value when I click on it.
So if I want to search with the input I can but I can also select one model and I want the input to reflect this selection.
I succeed in changing the modelSelected and modelName value by clicking on a model preview but the input value does'nt change. How can I do to change it without refresh the page of course?
The text was updated successfully, but these errors were encountered: