Select
Select fields components are used for collecting user provided information from a list of options.
API
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
コンポーネントに色を設定します。この色は、定義されている色の名前(例えばsuccess
やpurple
)や、CSSの色指定(#033
やrgba(255, 0, 0, 0.5)
)を設定できます。
Components.Selects.
ダークテーマを適用します。
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
ライトテーマを適用します。
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Components.Selects.
Supplemental
Mask | Description |
---|---|
Masks | |
# | Any digit |
A | Any capital letter |
a | Any small letter |
N | Any capital alphanumeric character |
n | Any small alphanumeric character |
X | Any special symbol (-!$%^&*()_+|~=`{}[]:";'<>?,./\) or space |
Pre-made | |
credit-card | #### - #### - #### - #### |
date-with-time | ##/##/#### ##:## |
phone | (###) ### - #### |
social | ###-##-#### |
time | ##:## |
time-with-seconds | ##:##:## |
Examples
Light theme
A standard single select has a multitude of configuration options.
Icons
Use a custom prepended or appended icon.
Multiple
A multi-select can utilize v-chip
as the display for selected items.
Customized item 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.
Prepend/Append item slots
The v-select
components can be optionally expanded with prepended and appended items. This is perfect for customized select-all functionality.
Change selection appearance
The selection
scoped 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.