Skip to content

Commit 3f23ab2

Browse files
author
Dmitry Kuzin (DevExpress)
committed
1 parent 9b95273 commit 3f23ab2

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/select2-tagbox.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -107,23 +107,6 @@ function init(Survey, $) {
107107
.trigger("change");
108108
} else {
109109
$el.val(question.value).trigger("change");
110-
111-
if (
112-
question.allowAddNewTag &&
113-
$el.val().length !== question.value.length
114-
) {
115-
question.value.forEach(function (choiceValue) {
116-
if ($el.val().indexOf(choiceValue) === -1) {
117-
var newOption = new Option(
118-
choiceValue,
119-
choiceValue,
120-
true,
121-
true
122-
);
123-
$el.append(newOption).trigger("change");
124-
}
125-
});
126-
}
127110
}
128111
self.fixStyles(el);
129112
updateComment();

0 commit comments

Comments
 (0)