Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Sandalf/vue-bootstrap-select
A vue version of bootstrap select
https://github.com/Sandalf/vue-bootstrap-select
bootstrap select vue
Last synced: 2 months ago
JSON representation
A vue version of bootstrap select
- Host: GitHub
- URL: https://github.com/Sandalf/vue-bootstrap-select
- Owner: Sandalf
- Created: 2018-12-10T23:59:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T19:26:44.000Z (over 1 year ago)
- Last Synced: 2024-03-23T23:42:28.040Z (3 months ago)
- Topics: bootstrap, select, vue
- Language: Vue
- Size: 765 KB
- Stars: 50
- Watchers: 3
- Forks: 32
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
Lists
- awesome-vue - @alfsnd/vue-bootstrap-select - Vue version of [bootstrap-select](https://github.com/snapappointments/bootstrap-select/). (Components & Libraries / UI Components)
- awesome-vue - @alfsnd/vue-bootstrap-select - Vue version of [bootstrap-select](https://github.com/snapappointments/bootstrap-select/). (Components & Libraries / UI Components)
- awesome-vue - @alfsnd/vue-bootstrap-select - Vue version of [bootstrap-select](https://github.com/snapappointments/bootstrap-select/). (Components & Libraries / UI Components)
- awesome-vue - @alfsnd/vue-bootstrap-select - Vue version of [bootstrap-select](https://github.com/snapappointments/bootstrap-select/). (Components & Libraries / UI Components)
- awesome-vue - @alfsnd/vue-bootstrap-select - Vue version of [bootstrap-select](https://github.com/snapappointments/bootstrap-select/). (Components & Libraries / UI Components)
- awesome-vue - @alfsnd/vue-bootstrap-select - Vue version of [bootstrap-select](https://github.com/snapappointments/bootstrap-select/). (Components & Libraries / UI Components)
- awesome-vue - @alfsnd/vue-bootstrap-select - Vue version of [bootstrap-select](https://github.com/snapappointments/bootstrap-select/). (Components & Libraries / UI Components)
- awesome-vue - @alfsnd/vue-bootstrap-select - Vue version of [bootstrap-select](https://github.com/snapappointments/bootstrap-select/). (Components & Libraries / UI Components)
- awesome-vue - @alfsnd/vue-bootstrap-select - Vue version of [bootstrap-select](https://github.com/snapappointments/bootstrap-select/). (Components & Libraries / UI Components)
- awesome-vue - @alfsnd/vue-bootstrap-select - Vue version of [bootstrap-select](https://github.com/snapappointments/bootstrap-select/). (UI Components / Form)
- awesome-vue - @alfsnd/vue-bootstrap-select - Vue version of [bootstrap-select](https://github.com/snapappointments/bootstrap-select/). (UI Components / Form)
- awesome-vue - @alfsnd/vue-bootstrap-select - Vue version of [bootstrap-select](https://github.com/snapappointments/bootstrap-select/). (Components & Libraries / UI Components)
- awesome-vue - @alfsnd/vue-bootstrap-select - A vue version of bootstrap select ` 📝 2 years ago` (UI Components [🔝](#readme))
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
```
### Passing options
The `options` prop accepts arrays of strings
```html
```
And arrays of objects```html
```
## Props
| parameter | description | type | default | acceptable value |
| -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------- | ------------ | ---------------- |
| disabled | disables select | Boolean | false | |
| disabledProp | allows to disable specific options. If an option has this prop set to a truthy value it will disable the option. | String | disabled | |
| labelNotFound | text displayed when no option is found in the search results | String | No results matched ||
| labelSearchPlaceholder | placeholder text for search input | String | Search | |
| options | list of options | Array | [] | |
| searchable | display search input | Boolean | false | |
| showDefaultOption | sets the select title is set as an option | Boolean | false | |
| textProp | the option's prop that is displayed as the option's text | String | text | |
| valueProp | the option's prop that is used to find the selected value | String | value |