Dropdown
A Dropdown allowing a single selection compatible with v-model
.
This Dropdown is searchable.
You can pass options through items
prop.
items
can be an array of strings. Prefer objects:
{
// name displayed in dropdown
"name" : "Beyoncé Knowles",
// selected value
"value" : "9481" // User ID,
// name displayed after selection (optional)
"text" : "Beyoncé"
// array of strings to test using user's input as a regexp (optional)
"search" : ['Beyonce Knowles'] // no diacritcs version
// whether field should be displayed as disabled (optional)
"disabled" : false
}