Releases: almino/semantic-ui-vue2
Releases · almino/semantic-ui-vue2
Focus prop removed in favor of method
If you need to force the focus look of an Input, simple use <ui-input class="focus"></ui-input>
Focus and blur methods
The blur()
method removes keyboard focus from the component.
The focus()
method sets focus on the component.
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
}