wffranco / vue-strap

Bootstrap components built with Vue.js
http://wffranco.github.io/vue-strap/
MIT License
338 stars 133 forks source link

"Uncaught (in promise) TypeError: options.map is not a function" using select #169

Open benshuk opened 6 years ago

benshuk commented 6 years ago

Hey, I'm using select like this:

<v-select v-model="value"
 v-bind:disabled="!key"
 v-bind:url="getURL()"
 placeholder="value"
 search multiple show-count></v-select>

and getting

Uncaught (in promise) TypeError: options.map is not a function

where as default options, key = '' and value = []. I checked the response of the URL I get from calling getURL(), and it returns an array of strings, just as expected. it happens only for some queries, and not all of them. is there any way to solve this? :(