# @alfsnd/vue-bootstrap-select

> A vue version of bootstrap select

Latest version **0.4.4** (published 2019-07-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @alfsnd/vue-bootstrap-select
pnpm add @alfsnd/vue-bootstrap-select
yarn add @alfsnd/vue-bootstrap-select
bun add @alfsnd/vue-bootstrap-select
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.4 |
| Published | 2019-07-09 |
| First published | 2018-12-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 76.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 48 |
| Maintainers | alfsnd |
| Keywords | npm, package, vue, bootstrap, select, alfsnd |

## Links

- npm: https://www.npmjs.com/package/@alfsnd/vue-bootstrap-select
- Repository: https://github.com/Sandalf/vue-bootstrap-select
- Homepage: https://github.com/Sandalf/vue-bootstrap-select#readme
- Issues: https://github.com/Sandalf/vue-bootstrap-select/issues
- npm.io page: https://npm.io/package/@alfsnd/vue-bootstrap-select

## Dependencies (1)

- [vue-clickaway](https://npm.io/package/vue-clickaway.md) ^2.2.2

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@atlaskit/theme](https://npm.io/package/@atlaskit/theme.md) — 402.0K weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads

## Recent versions

- 0.4.4 (latest) — 2019-07-09
- 0.4.3 — 2019-05-08
- 0.4.2 — 2019-05-05
- 0.4.1 — 2019-04-03
- 0.4.0 — 2019-03-24
- 0.3.0 — 2019-03-10
- 0.2.1 — 2019-02-20
- 0.2.0 — 2019-02-20
- 0.1.0 — 2019-02-12
- 0.0.12 — 2018-12-17
- 0.0.11 — 2018-12-13
- 0.0.10 — 2018-12-13
- 0.0.9 — 2018-12-12
- 0.0.8 — 2018-12-12
- 0.0.7 — 2018-12-12
- … 6 more at https://npm.io/package/@alfsnd/vue-bootstrap-select/versions

## README

[![AUR version](https://img.shields.io/npm/v/@alfsnd/vue-bootstrap-select.svg)](https://github.com/Sandalf/vue-bootstrap-select)
[![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/react.svg)](https://github.com/Sandalf/vue-bootstrap-select)

# @alfsnd/vue-bootstrap-select
A vue version of [bootstrap select](https://github.com/snapappointments/bootstrap-select/)

# Demo

[![Edit Vue Bootstrap Select Demo](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ovq821j566)

# Install

```shell
npm install @alfsnd/vue-bootstrap-select --save
```

# Usage

```js
import VSelect from '@alfsnd/vue-bootstrap-select'

export default {
  name: 'app',
  components: {
    VSelect
  },
  data() {
    return {
      selectedValue: null
    };
  }
}
```

```html
<template>
  <div id="app">
    <v-select :options="[{value: 1, text: 'Item 1'}, {value: 2, text: 'Item 2'}]" v-model="selectedValue" />
  </div>
</template>
```

### Passing options

The `options` prop accepts arrays of strings

```html
  <v-select :options="['Item 1', 'Item 2']" />
```
And arrays of objects

```html
<v-select :options="[{value: 1, text: 'Item 1'}, {value: 2, text: 'Item 2'}]" />
```

---
_Source: https://npm.io/package/@alfsnd/vue-bootstrap-select · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
