Skip to content

Commit

Permalink
Set value of newly created items
Browse files Browse the repository at this point in the history
Items are not getting their values set after they are added.
gitana#356
  • Loading branch information
BlueWater86 authored and darabos committed Jan 3, 2019
1 parent f67861d commit 0dd0380
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/js/fields/basic/ArrayField.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@
{
self.addItem(i, itemSchema, itemOptions, data[i], function() {
_done();
var childField = self.children[i]
childField.setValue(data[i]);
});
};
})(i, data);
Expand Down

0 comments on commit 0dd0380

Please sign in to comment.