mirror of
https://github.com/tenrok/vue-select.git
synced 2026-05-17 02:29:37 +03:00
onEscape blur() not close
This commit is contained in:
+2
-2
@@ -14,7 +14,7 @@ module.exports = function (config) {
|
||||
plugin: [require('proxyquireify').plugin]
|
||||
},
|
||||
// if you want to continuously re-run tests on file-save,
|
||||
// replace the following line with `autoWatch: true`
|
||||
singleRun: true
|
||||
// use `autoWatch: true`, otherwise use `singleRun: true`
|
||||
autoWatch: true
|
||||
})
|
||||
}
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
"karma-jasmine": "^0.3.6",
|
||||
"karma-phantomjs-launcher": "^1.0.0",
|
||||
"karma-spec-reporter": "0.0.23",
|
||||
"node-sass": "^3.4.2",
|
||||
"phantomjs-prebuilt": "^2.1.3",
|
||||
"proxyquireify": "^3.0.1",
|
||||
"uglify-js": "^2.5.0",
|
||||
|
||||
@@ -281,7 +281,7 @@
|
||||
|
||||
onEscape() {
|
||||
if( ! this.search.length ) {
|
||||
this.open = false
|
||||
this.$els.search.blur()
|
||||
} else {
|
||||
this.$set('search', '')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user