I use Vuetify
, I want display one data array in <v-select>
component.
In my real app I use async
data. My app working in my local server and in my test server, but when I deploy in other app (in the working numeric environment) the component not working anymore.
I supposed it's because data are async
and I tried to modify the data. I tried with local data and the <v-select>
not work either with local data. My code :
<v-select :items="airData"
item-text="name"
item-value="id"
:label="$t('pages.Home.form.repositories.label.name')"
v-model="selected"
:error-messages="repositoryErrors"
color="valid"
:attach="true"
/>
...
data () {
return {
selected: 1,
airData: [
{
name: 'repository 1',
id: 1
}, {
name: 'repository 2',
id: 2
}, {
name: 'repository 3',
id: 3
}
]
}
}
...and the vuetify display "No data available".
Thx for your help !