Form Select | bootstrap vue label
Bootstrapcustom
Bootstrap custom <select> using custom styles. Optionally specify options based on an array, array of objects, or an object.
Generate your select options by passing an array or object to the options props:
<template> <div> <b-form-select v-model="selected" :options="options"></b-form-select> <b-form-select v-model="selected" :options="options" size="sm" class="mt-3"></b-form-select> <div class="mt-3">Selected: <strong>{{ selected }}</strong></div> </div> </template> <script> export default { data() { return { selected: null, options: [ { value: null, text: Please select an option }, { value: a, text: This is First option }, { value: b, text: Selected Option }, { value: { C: 3PO }, text: This is an option with object value }, { value: d, text: This one is disabled, disabled: true }...