Milestone import support
[sdc.git] / catalog-ui / src / app / ng2 / pages / composition / interface-operatons / operation-creator / add-input / add-input.component.ts
index 5620d19..d3b596e 100644 (file)
@@ -145,7 +145,7 @@ export class AddInputComponent implements OnInit {
 
   showAddInput() {
     if (this.defaultType) {
-      this.inputToAdd.type = this.dataTypeMap.get(this.defaultType) ? this.defaultType : undefined;
+      this.onChangeInputType(this.defaultType);
     }
     this.showForm = true;
     this.showAddLink = false;