2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-22 10:30:34 +03:00

merge upstream

This commit is contained in:
nanotronic
2016-04-11 18:42:26 +02:00
2 changed files with 5 additions and 4 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
{ {
"name": "vue-select", "name": "vue-select",
"version": "1.0.2", "version": "1.0.5",
"description": "A Vue.js project", "description": "A Vue.js project",
"author": "Jeff Sagal <sagalbot@gmail.com>", "author": "Jeff Sagal <sagalbot@gmail.com>",
"private": true, "private": true,
@@ -24,10 +24,10 @@
"url": "https://github.com/sagalbot/vue-select.git" "url": "https://github.com/sagalbot/vue-select.git"
}, },
"dependencies": { "dependencies": {
"vue": "^1.0.16", "vue": "^1.0.16"
"vuex": "^0.6.2"
}, },
"devDependencies": { "devDependencies": {
"vuex": "^0.6.2",
"babel-core": "^6.0.0", "babel-core": "^6.0.0",
"babel-plugin-transform-runtime": "^6.0.0", "babel-plugin-transform-runtime": "^6.0.0",
"babel-preset-es2015": "^6.0.0", "babel-preset-es2015": "^6.0.0",
+2 -1
View File
@@ -44,7 +44,7 @@
.dropdown-menu { .dropdown-menu {
margin: 0; margin: 0;
width: 100%; width: 100%;
overflow-y: scroll; overflow-y: auto;
border-top: none; border-top: none;
border-top-left-radius: 0; border-top-left-radius: 0;
border-top-right-radius: 0; border-top-right-radius: 0;
@@ -343,6 +343,7 @@
onAfterSelect(option) { onAfterSelect(option) {
if (!this.multiple) { if (!this.multiple) {
this.open = !this.open this.open = !this.open
this.$els.search.blur()
} }
if( this.clearSearchOnSelect ) { if( this.clearSearchOnSelect ) {