-1
I’m doing a simple CRUD, with Vue, Node, Mariadb. In the update part, I don’t know how to take the user values and leave already filled. (I’m beginner)
<div>
<p>Nome</p>
<input type="input">
<p>Data de nascimento</p>
<input type="input">
<p>Email</p>
<input type="input">
<h2 class = "endereco">Seu endereço</h2>
<p>Rua</p>
<input type="input">
<p>Número</p>
<input type="input">
<p>Bairro</p>
<input type="input">
<button class="btnAdd" @click="addUser()">Atualizar</button>
</div>
User data is in a table, each row has the edit button. How do I fill user fields in input?
At a glance at the documentation it is very easy, https://vuejs.org/v2/guide/forms.html roughly you will fill in the value using the v-model
– rnd_rss