@eqproject/eqp-dynamic-module 2.0.8 → 2.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4752,10 +4752,10 @@ class EqpDynamicModuleConfiguratorComponent {
4752
4752
  if (field.FieldType != FieldTypeEnum["Form di dettaglio"]) {
4753
4753
  // ricreo l'oggetto passando per un json
4754
4754
  let cloneField = JSON.parse(JSON.stringify(field));
4755
- cloneField["Label"] = field["Label"] + "_copy";
4756
- cloneField["OrdinalPosition"] = this.form.Fields.length + 1;
4757
- console.log("field: ", field);
4758
- console.log("newField: ", cloneField);
4755
+ cloneField.Label = field["Label"] + "Copy";
4756
+ cloneField.OrdinalPosition = this.form.Fields.length + 1;
4757
+ this.selectedField = new BaseField();
4758
+ this.indexSelectedField = null;
4759
4759
  this.onSaveField(cloneField);
4760
4760
  }
4761
4761
  else {