# Selects

Select fields components are used for collecting user provided information from a list of options.

# Usage

# API

# Caveats

# Examples

# Props

# Custom text and value

You can specify the specific properties within your items array correspond to the text and value fields. By default, this is text and value. In this example we also use the return-object prop which will return the entire object of the selected item on selection.

# Dense

You can use dense prop to reduce the field height and lower max height of list items.

# Disabled

Applying the disabled prop to a v-select will prevent a user from interacting with the component.

# Icons

Use a custom prepended or appended icon.

# Light

A standard single select has a multitude of configuration options.

# Multiple

A multi-select can utilize v-chip as the display for selected items.

# Readonly

You can use the read-only prop on v-select which will prevent a user from changing its value.

# Slots

# Append and prepend item

The v-select components can be optionally expanded with prepended and appended items. This is perfect for customized select-all functionality.

# Selection

The selection slot can be used to customize the way selected values are shown in the input. This is great when you want something like foo (+20 others) or don’t want the selection to occupy multiple lines.

Ready for more?

Continue your learning with related content selected by the Team or move between pages by using the navigation links below.
Edit this page on GitHub
Last updated:11/12/2024, 6:59:50 AM