|
@@ -12114,6 +12114,12 @@ define('select2/data/tags',[
|
|
|
function Tags (decorated, $element, options) {
|
|
|
var tags = options.get('tags');
|
|
|
|
|
|
+ var createTag = options.get('createTag');
|
|
|
+
|
|
|
+ if (createTag !== undefined) {
|
|
|
+ this.createTag = createTag;
|
|
|
+ }
|
|
|
+
|
|
|
decorated.call(this, $element, options);
|
|
|
|
|
|
if ($.isArray(tags)) {
|