# UiSelect

Wraps the native `select` element.

## Usage

```html
<template>
  <UiSelect
    v-model="appearance"
    name="appearance"
    required
  >
    Appearance

    <template #options>
      <option
        v-for="appearance in appearances"
        :key="appearance.id"
        :value="appearance.id"
      >
        {{ appearance.name }}
      </option>
    </template>
  </UiSelect>
</template>

<script setup>
import UiSelect from "@dpa-id-components/dpa-shared-components/components/UiSelect/UiSelect.vue";
</script>
```

This component binds all non-prop attributes (apart from `class`) on its principal element (the `select` element) instead of the root element. This allows you to add arbitrary HTML attributes (and event listeners) on the principal element without them being explicitly supported by the component.
