I got a dropdown component with v-model value, whenever I type a password in my input or change the isHidden value, and then I select another value from dropdown the items in v-if="value" div won't reset, basically I want to re-render this div, empty all inputs and reset the values, is this achievable somehow?
Shouldn't it reset automatically if it's inside a v-if?
<Multiselect :options="passwordTypes()" v-model="value" />
<div v-if="value">
<input type="text" placeholder="Password" />
<h4>Is Hidden</h4>
<input type='checkbox' name='toggle' @click="isHidden = !isHidden" />
<label class="toggle-label" for="toggle" />
</div>