VDS
Vtiger Design System (a.k.a VDS) provides core HTML components as part of VTAP. These components can be used when creating your custom pages, widgets, popups.
v-select2
Drop-down component with options.
<v-select2 :required=true :emptyOption=false
v-model="" :multiple=false :options=""></v-selec2>
Property | Type | Default | Description |
---|---|---|---|
required | bool | false | true - mandatory, false - optional |
emptyOption | bool | false | true - show empty option, false - otherwise |
v-model | string | - | store the choice made into variable |
multiple | bool | false | true - allow multiple selection, false - otherwise |
options | object | - | list of map: [ {label: 'Private', value: 'private'}. {label: 'Public', value: 'public'} ] |