<template>
  <v-select
    color="primary"
    density="compact"
    hide-details
    :items="items"
    :label="undefined"
    :model-value="modelValue"
    :placeholder="placeholder"
    variant="outlined"
    @update:model-value="emit('update:modelValue', $event)"
  />
</template>

<script setup lang="ts">
defineProps<{
  modelValue: unknown
  placeholder?: string
  items?: unknown[]
}>()

const emit = defineEmits<{
  'update:modelValue': [value: unknown]
}>()
</script>
