[Vuejs]-How to add attribute a value to my Combobox using vue Js?

0👍

First of all, the options property needs to be an string array or a plain object array with “label” and “value” properties.

You can try this:

<v-select :options="locations.map(i => i.name)" label="name" v-model="country"></v-select>

It will show you a select with the name of your locations.

Leave a comment