sagalbot / vue-select

Everything you wish the HTML <select> element could do, wrapped up into a lightweight, extensible Vue component.
https://vue-select.org
MIT License
4.62k stars 1.33k forks source link

Uncaught (in promise) TypeError: this.options.concat is not a function #1706

Closed muazzamazaz closed 1 year ago

muazzamazaz commented 1 year ago

Please respect maintainers time by filling in these sections. Your issue will likely be closed without this information.

Describe the bug Uncaught (in promise) TypeError: this.options.concat is not a function

import vSelect from 'vue-select';
import 'vue-select/dist/vue-select.css';
import { createApp } from 'vue'

const app = createApp({})
app.component('v-select', vSelect)

<template>
 <v-select :options="drivers"></v-select>
</template>
sagalbot commented 1 year ago

drivers is not defined in your example.