X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=cds-ui%2Fdesigner-client%2Fsrc%2Fapp%2Fmodules%2Ffeature-modules%2Fpackages%2Fdesigner%2Faction-attributes%2Faction-attributes.component.ts;fp=cds-ui%2Fdesigner-client%2Fsrc%2Fapp%2Fmodules%2Ffeature-modules%2Fpackages%2Fdesigner%2Faction-attributes%2Faction-attributes.component.ts;h=b04e89f2150535dfd5ff470c0abe26bb2137d11e;hb=e3f114e4c176e06e90cd7a1a9d858315773b81f9;hp=f33965044e1beb81e6707c245329d161d3f147ab;hpb=cd39359ab6e7b5e708b770a360ad5c052cead746;p=ccsdk%2Fcds.git diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.ts index f33965044..b04e89f21 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.ts @@ -150,6 +150,7 @@ export class ActionAttributesComponent implements OnInit { setOutputType(type: string) { this.outputActionAttribute.type = type; this.isOutputOtherType = this.checkIfTypeIsOther(type); + console.log(this.outputActionAttribute.type , this.isOutputOtherType , this.outputOtherType); } checkIfTypeIsOther(type) { @@ -157,12 +158,16 @@ export class ActionAttributesComponent implements OnInit { } submitAttributes() { + console.log(this.getValue()); this.addInput(this.inputActionAttribute); if (this.selectedFunctionName && this.selectedAttributeName) { console.log(this.getValue()); this.outputActionAttribute.value = this.getValue(); } + if (this.isOutputOtherType) { + this.outputActionAttribute.type = this.outputOtherType; + } this.addOutput(this.outputActionAttribute); this.clearFormInputs(); this.storeOutputs(this.newOutputs);