Skip to content

Commit 87137f3

Browse files
AC-2020:Error:Dynamic rows component behaves incorrectly when a new element is added
1 parent cd826aa commit 87137f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Ui/view/base/web/js/dynamic-rows/dynamic-rows-grid.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ define([
259259
}
260260

261261
this.source.set(this.dataScope + '.' + this.index + '.' + this.recordData().length, obj);
262+
obj.position=this.recordData().length-1
262263
},
263264

264265
/**

0 commit comments

Comments
 (0)