diff --git a/platform/commonUI/browse/src/creation/CreateWizard.js b/platform/commonUI/browse/src/creation/CreateWizard.js index 8e072a3989..aa874d23a7 100644 --- a/platform/commonUI/browse/src/creation/CreateWizard.js +++ b/platform/commonUI/browse/src/creation/CreateWizard.js @@ -101,9 +101,8 @@ define( newModel.type = type.getKey(); // Update all properties - properties.forEach(function (property) { - var value = formValue[property.getDefinition().key]; - property.setValue(newModel, value); + properties.forEach(function (property, index) { + property.setValue(newModel, formValue[index]); }); return newModel;