Skip to content

Commit d1f3a57

Browse files
author
Rajesh Akkineni
committed
Upgraded versions to support template compilation rendering
1 parent 2ea337e commit d1f3a57

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@
5959
"sass-loader": "^3.2.0",
6060
"shelljs": "^0.7.0",
6161
"url-loader": "^0.5.7",
62-
"vue": "^1.0.24",
62+
"vue": "^2.0.3",
6363
"vue-hot-reload-api": "^1.2.0",
64-
"vue-html-loader": "^1.0.0",
65-
"vue-loader": "^8.3.0",
66-
"vue-resource": "^0.8.0",
64+
"vue-html-loader": "^1.2.3",
65+
"vue-loader": "^9.6.0",
66+
"vue-resource": "^1.0.3",
6767
"vue-style-loader": "^1.0.0",
6868
"vuex": "^0.6.3",
6969
"webpack": "^1.12.2",

src/components/Select.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@
214214
</li>
215215
<transition name="fade">
216216
<li v-if="!filteredOptions.length" class="divider"></li>
217+
</transition>
218+
<transition name="fade">
217219
<li v-if="!filteredOptions.length" class="text-center">
218220
<slot name="no-options">Sorry, no matching options.</slot>
219221
</li>
@@ -605,7 +607,7 @@
605607
* @return {array}
606608
*/
607609
filteredOptions() {
608-
let options = this.$options.filters.filterBy(this.options, this.search)
610+
let options = this.$options.filters.filterBy?this.$options.filters.filterBy(this.options, this.search):this.options
609611
if (this.taggable && this.search.length && !this.optionExists(this.search)) {
610612
options.unshift(this.search)
611613
}

src/mixins/ajax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = {
2323
*/
2424
onSearch: {
2525
type: Function,
26-
default: false
26+
default: function(search, loading){}
2727
},
2828

2929
/**

0 commit comments

Comments
 (0)