Fix tag auto select.

This commit is contained in:
James Cole
2018-03-04 08:52:06 +01:00
parent a511368229
commit 8eb3d43123
2 changed files with 4 additions and 3 deletions

View File

@@ -41,7 +41,8 @@ function setAutocompletes() {
source: data, source: data,
afterSelect: function () { afterSelect: function () {
this.$element.val(""); this.$element.val("");
} },
autoSelect: false,
} }
}; };
$('input[name="tags"]').tagsinput( $('input[name="tags"]').tagsinput(

View File

@@ -53,8 +53,8 @@ function setCommonAutocomplete() {
source: data, source: data,
afterSelect: function () { afterSelect: function () {
this.$element.val(""); this.$element.val("");
},
} autoSelect: false,
}, },
autoSelect: false, autoSelect: false,
}; };