Get current tags from modal dialog...

This commit is contained in:
Matias De lellis
2019-11-14 11:25:10 -03:00
parent ccf0011801
commit 4940db0f8e
2 changed files with 8 additions and 4 deletions

View File

@@ -58,7 +58,7 @@ const QnDialogs = {
}
});
input.val(selectedTags.map(function (value) { return value.id; }));
input.val(selectedTags.map(function (value) { return value.id >= 0 ? value.id : value.name; }));
input.trigger("change");
$('.select2-input').on("keyup", function (event) {