Answer the question
In order to leave comments, you need to log in
Why doesn't Vue render the object's value?
There is a component
...
<button class="persons-counter-m" @click.prevent="deliveryDecriment()"></button>
<span>{{ formModel.persons }}</span>
<button class="persons-counter-p" @click.prevent="formModel.persons++"></button>
...
...
data() {
return {
cartConfig,
formModel: {
...
persons: 1
},
}
...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question