2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-05-17 02:29:37 +03:00
Markus b8fbefdc2d fix unclosable select dropdown when clicking on dropdown (#949)
The reason for the bug was: clicking on the area blurred the search
input. vue-slect relies on this event to close the dropdown.
Since the click happend inside the dropdown, it did not
close (which is correct). Though now the search input was blurred
already, so clicking outside of the dropdown had no effect. Be
preventing event propagation, the input does not get blurred anymore
when clicking inside the dropdown and everything still works.
2019-10-26 11:42:50 -07:00
2019-03-23 14:24:18 -07:00
2019-05-01 08:36:02 -07:00
2019-04-27 15:40:24 -07:00
2016-07-04 13:00:35 -07:00
2018-09-05 08:07:21 -07:00
2016-03-10 14:44:48 -08:00
🚀 v3.2.0
2019-09-14 14:01:37 -07:00
2019-02-18 22:01:39 -08:00
2019-04-14 16:48:16 -07:00

vue-select Current Release Bundle Size Monthly Downloads Code Coverage Maintainability Score MIT License

Everything you wish the HTML <select> element could do, wrapped up into a lightweight, zero dependency, extensible Vue component.

  • Tagging
  • Filtering / Searching
  • Vuex Support
  • AJAX Support
  • SSR Support
  • ~20kb Total / ~5kb CSS / ~15kb JS
  • Select Single/Multiple Options
  • Customizable with slots and SCSS variables
  • Tested with Bootstrap 3/4, Bulma, Foundation
  • +95% Test Coverage
  • Zero dependencies

Documentation

Complete documentation and examples available at https://vue-select.org.

Install

$ npm install vue-select

Register the component

import Vue from 'vue'
import vSelect from 'vue-select'

Vue.component('v-select', vSelect)

You may now use the component in your markup

<v-select v-model="selected" :options="['Vue.js','React']"></v-select>

You can also include vue-select directly in the browser. Check out the documentation for loading from CDN..

License

MIT

S
Description
No description provided
Readme 15 MiB
Languages
JavaScript 58%
Vue 26.4%
CSS 7.8%
SCSS 7.3%
HTML 0.5%