Skip to content

Commit

Permalink
Bump version to 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian Dulisz committed Jun 23, 2016
1 parent 01a2906 commit 7d43c84
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions lib/multiselectMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,12 +241,13 @@ module.exports = {
},
computed: {
filteredOptions () {
var options = this.hideSelected
let search = this.search || ''
let options = this.hideSelected
? this.options.filter(this.isNotSelected)
: this.options
options = this.$options.filters.filterBy(options, this.search)
if (this.taggable && this.search.length > 0 && !this.isExistingOption(this.search)) {
options.unshift({ isTag: true, label: this.search })
if (this.taggable && search.length && !this.isExistingOption(search)) {
options.unshift({ isTag: true, label: search })
}
return options
},
Expand Down
4 changes: 2 additions & 2 deletions lib/vue-multiselect.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/vue-multiselect.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-multiselect",
"version": "0.2.6",
"version": "0.3.0",
"description": "Multiselect component for vue.js",
"author": "Damian Dulisz <damian.dulisz@monterail.com>",
"private": false,
Expand Down

0 comments on commit 7d43c84

Please sign in to comment.