0👍
What you see in the form is not a "placeholder". It’s initial value of your v-autocomplete
(form.estado = 0
)
Reason you see [object Object]
is because of property names item-text="Nome" item-value="CodCidade"
on v-autocomplete
doesn’t match with the initial value of a lookup "table" set in your data estado: [{ nome: 'Carregando', CodEstado: 0 }]
Correct: estado: [{ Nome: 'Carregando', CodEstado: 0 }]
("Nome" instead of "nome")
- [Vuejs]-Connecting Socket.io using VUE or vue-socket.io
- [Vuejs]-How to hide some dynamically generated div's in VueJS v-for
Source:stackexchange.com