[Vuejs]-How can I set input value only once to dynamic value and then keep the modified value?

0👍

You can declare a variable and set it value to minimum value and then whenever component render again it will set it value to its minimum value.
Hope you get what you want .

0👍

Easiest solution should be using v-once template directive.


See also VueJS render once into an element.

Leave a comment