Dear I am developing an application with electronjs and vuejs, but I have a problem. I'm using vuetify and I can not show the firebase data, it just happens to me with vuetify ... now I explain it.
<v-flex xs12 sm6 d-flex>
<v-select
:items="items"
label="Standard"
></v-select>
</v-flex>
And in Vuejs:
items:function(){
return this.localidad
/*localidad es la conexion a firebase.localidad.descripcion*/
}
locality is declared as an attribute in the co -ponent:
let localidad = mdb.ref('localidad').child('pcia_descripcion');
let pais = mdb.ref('pais');
let provincia = mdb.ref('provincia');
new Vue({
el: '#ausuario',
firebase: function () {
return {
tipodentidad: tidenti,
localidad: localidad,
pais: pais,
provincia: provincia
}
},
My question is: how do I show the location data in the dropdown (select) with v-bind:items="localidad"
. I think it would be best to go through the array of the component within the property "locality", but I do not know how to do it, look for information and not econtre.