Components

BaseSelectInput

A select with the template’s menu style, single or multiple, with chips.

components/ui/inputs/BaseSelectInput.vue
View in the demo

Example

API

It also accepts every prop, slot and event of v-select, which it passes through.

Props

Name
Type
Default
Description
labelstring—The visible label above the field, linked to it with for and aria-labelledby.
input-idstring—A fixed id for the input. One is generated with useId() when you leave it out.
optionalboolean—Adds “(optional)” after the label. Never mark required fields.
infoBaseInputInfo—A help popover next to the label: a text or a list of { title, text }.

Items are { title, value }. Add icon to show an icon in the menu.

Accessibility

The label is always visible and linked to the input. Error messages are announced through aria-describedby and the field gets aria-invalid. Set type, inputmode and autocomplete so phones show the right keyboard and browsers can autofill.

© 2026 melsami UI.
Developer documentation for melsami UI.