-1👍
Well currently you are saying if level is 1 and higher than 1 show. I think you meant to say this https://jsfiddle.net/cckLd9te/4655/?
<select v-model="newPsu" multiple="true">
<option v-if="level == 1">Level 1</option>
<option v-if="level > 1" v-for="option in provinsiOptions" v-bind:value="option.text">
{{ option.text }}
</option>
<option v-if="level > 2" v-for="option in kabupatenOptions" v-bind:value="option.text">
{{ option.text }}
</option>
</select>
- [Vuejs]-Changing parent component from child components in vue.js
- [Vuejs]-Vue Uncaught RangeError Maximum call stack size exceeded
Source:stackexchange.com