2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-10 07:52:23 +03:00
This commit is contained in:
nanotronic
2016-04-11 18:47:51 +02:00
parent 26aded20e6
commit fd3bf874ad
2 changed files with 6 additions and 7 deletions
+2 -2
View File
@@ -257,7 +257,7 @@
* Enable/disable creating options from searchInput.
* @type {Boolean}
*/
tagable: {
taggable: {
type: Boolean,
default: false
},
@@ -442,7 +442,7 @@
typeAheadSelect() {
if( this.filteredOptions[ this.typeAheadPointer ] ) {
this.select( this.filteredOptions[ this.typeAheadPointer ] );
} else if (this.tagable && this.search.length){
} else if (this.taggable && this.search.length){
let option = this.createOption(this.search)
this.isAdding = true
this.$set('options', [option, ...this.options])