I would like to populate my select tag with options from an array variable which contains arrays of number values. But the values that are reproduced seems to be blank
HTML:
<select required id="dropDown">
<option>Select here</option>
<option v-for="choice in choices">{{ choice }}</option>
</select>
Javascript:
var vm = new Vue({
el: 'body',
data:{
'choices': [1,2,3,4,5]
}
});
Can someone point me of my mistake? Because I am just a beginner though, and I would like to learn from you guys.