BaseSelect
Props
Name | Description | Type | Default |
---|---|---|---|
placeholder | Placeholder for select | string (optional) | |
options | Array of options for select | Option | |
disabled | Is select disabled | boolean (optional) |
Slots
Name | Description | Bindings |
---|---|---|
label | Label for option | index number - current index |
Examples
vue
<BaseSelect :options=[{label: "English",value: "en"}]>
<template #label>
Custom Label
</template>
</BaseSelect>
<BaseSelect :options=[{label: "English",value: "en"}]>
<template #label>
Custom Label
</template>
</BaseSelect>