Skip to content

Commit 7f4f81e

Browse files
committed
fix for array item swapping/moving
1 parent ac86ce8 commit 7f4f81e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/js/fields/basic/ArrayField.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,8 @@
323323
return;
324324
}
325325

326+
self.allData = data;
327+
326328
// set fields
327329
var i = 0;
328330
do
@@ -438,7 +440,6 @@
438440
var items = [];
439441
if (self.allData && self.allData.length > 0)
440442
{
441-
self.data = self.allData;
442443
self.data = self.allData.slice(0, self.itemsShown);
443444

444445
var totalItemCount = self.data.length;

0 commit comments

Comments
 (0)