[Solved]Iterator is undefined in V-for
Hello! I have a drop down that's supposed to change based on the choice of a radio button. This works with a v-if="someOptionIsSelected" populate the dropdown with array1 v-else populate the dropdown with array2. However when I change the selection for the radio button option in v-for="option in array2" is undefined.
Does anyone understand whats going on?
edit: Uncaught (in promise) TypeError: option is undefined
1 Reply
Turns out array2 had a undefined value