diff --git a/src/base/single/input/file.js b/src/base/single/input/file.js index 904fbfcf5..55ce415e4 100644 --- a/src/base/single/input/file.js +++ b/src/base/single/input/file.js @@ -668,7 +668,11 @@ }, getValue: function () { - return this.wrap ? this.wrap.attach_array : []; + return this.wrap + ? BI.filter(this.wrap.attach_array, function (index, attach) { + return attach.attach_id; + }) + : []; }, getQueue: function () {