Voicenter
Voicenter

General

Localization

Design

Colors Icons

Components

Buttons Card Checkboxes Collapse Color Picker Data Table Datetime Range Picker Delimited List Extended Datetime Range Picker File Uploader Horizontal Tabs Icon Picker Input Input Number Link Loading Modal Notification Pagination Popover Progress Radio Tabs Radios Range Slider Select Sound Player Split Button Switch Table Tabs Tag Tag Input Time Input Tree Vertical Tabs View Switcher Wizard

Dropdown Option

Dropdown Option

Option Element of the dropdown

Option with icon
No label provided
Disabled option
Option slot content
Active Option
Expand

Dropdown Option Attributes

AttributeDescriptionTypeAccepted ValuesDefault
valueThe value that be passed on click eventString/Number--
labelText to be shownString-No label provided
iconIcon next to labelString - icon classname--
disabledIf option is disabledBoolean-false
activeIf option is activeBoolean-false
iconColorHexColor of iconString-

Dropdown Option Slots

NameDescription
defaultContent of the option

Dropdown Option Events

MethodDescriptionParameters
clickOption click event in case not disabledPassed value prop

Dropdown

Basic usage with lazy-loading:

Expand

Clearable:

Expand

Not Required

Expand

Disabled Select

Expand

Error state

Expand

With Placeholder

Expand

Automatic tooltip change (open select and scroll the window)

Expand

Default Selected

Expand

Readonly with Icon

Expand

Basic usage with slot before arrow

suffix-content
Expand

Disabled Option

Option can be disabled if disabledKey passed in confid and option has such property with value true

Expand

With custom options content

Option can have custom content

Expand

Multiply Searched options:

Expand

Dropdown Slots

NameDescription
defaultDefault dropdown options
labelIconLabel icon content
labelLabel content
suffix-contentsuffix-content before arrow

Dropdown Attributes

AttributeDescriptionTypeAccepted ValuesDefault
model-value / v-modelbinding valueany—
max-lengththe maximum allowed length of valuenumber-Infinity
requiredadding (*) to labelboolean—false
disabledwhether the component is disabledboolean—false
labellabel textstring--
readonlyan input field is read onlyboolean-false
label-iconlabel iconstring--
max-widthmax-widthstring-
placeholderplaceholderstring--
clearableclearable inputboolean-false
prefix-iconprefix iconstring—-
noDataTextno options provided textstring-No Data
prefix-icon-colorcolor of prefix iconstring—-
optionsdefault options list if it is not lazy loadarray--
config config: { labelKey: String, valueKey: String, iconKey: String, onclickFuncKey: String, iconColorHex: String, searchKey: String, disabledKey: String } object--
lazyLoadConfiglazyLoadConfig: { getDataFunc: (page: number, filter: string): Object => {}, getDataFuncDataPath: '$.Data', getDataFuncPaginationTotalPath: '$.Pagination.Total' },object--

Dropdown Events

MethodDescriptionParameters
update:modelValueTriggers when update modelValue
cleartriggers by clear input
onblurtriggers when Input blured
onfocustriggers when Input focused
onchangetriggers when Input changed
option-selectOption click event in case not disabledValue if configured, option if not

Multiple Dropdown

Basic usage (without lazy-loading):

Alexander Melnyk
+ 2
Expand

Basic usage (with lazy-loading):

delectus aut autem
+ 2
Expand