Maintaining State. No doubt. So given the following template: So you cannot have an element with the v-if directive and then nest an element with the v-else directive at a different level in the HTML. Vue.js enable disable input field It is very simple to enable disable form input field. To successfully complete this task, you must complete two steps. v-if is “real” conditional rendering because it ensures that event listeners and child components inside the conditional block are properly destroyed and re-created during toggles. Note that v-show doesn’t support the