S
S
seredaes2019-09-06 19:53:09
Vue.js
seredaes, 2019-09-06 19:53:09

How to set vuejs-auto-complete value?

https://www.npmjs.com/package/vuejs-auto-complete
Here is the plugin connected.

<autocomplete ref="autocompleteUsers" :source="getUsersList" resultsValue="207"></autocomplete>

From computed I get the ID value, I need to display the name of the user when editing. But it, bastard, does not show anything. Although by clicking - I can choose ...
I read the dock, I don’t understand .... already a cry from the heart ... HELP!
resultsValue="207" I tried it like this, - no idea
v-model set ID - no problem

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question