File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 59
59
"sass-loader" : " ^3.2.0" ,
60
60
"shelljs" : " ^0.7.0" ,
61
61
"url-loader" : " ^0.5.7" ,
62
- "vue" : " ^1 .0.24 " ,
62
+ "vue" : " ^2 .0.3 " ,
63
63
"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 " ,
67
67
"vue-style-loader" : " ^1.0.0" ,
68
68
"vuex" : " ^0.6.3" ,
69
69
"webpack" : " ^1.12.2" ,
Original file line number Diff line number Diff line change 214
214
</li >
215
215
<transition name =" fade" >
216
216
<li v-if =" !filteredOptions.length" class =" divider" ></li >
217
+ </transition >
218
+ <transition name =" fade" >
217
219
<li v-if =" !filteredOptions.length" class =" text-center" >
218
220
<slot name =" no-options" >Sorry, no matching options.</slot >
219
221
</li >
605
607
* @return {array}
606
608
*/
607
609
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
609
611
if (this .taggable && this .search .length && ! this .optionExists (this .search )) {
610
612
options .unshift (this .search )
611
613
}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ module.exports = {
23
23
*/
24
24
onSearch : {
25
25
type : Function ,
26
- default : false
26
+ default : function ( search , loading ) { }
27
27
} ,
28
28
29
29
/**
You can’t perform that action at this time.
0 commit comments