<template>
    <a-select
        :value="value"
        style="width: 100%"
        :dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
        placeholder="Please select"
        allow-clear
        :options="options"
        v-on="$listeners"
        v-bind="$attrs"
    />
</template>

<script>
export default {
    model: {
        prop: 'value',
        event: 'change',
    },
    props: {
        value: [String, Number],
        options: Array,
    },
};
</script>
