summaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions-attribute/functions-attribute.component.html
diff options
context:
space:
mode:
authorAhmedeldeeb50 <ahmed.eldeeb.ext@orange.com>2021-01-17 17:23:59 +0200
committerAhmedeldeeb50 <ahmed.eldeeb.ext@orange.com>2021-01-17 17:23:59 +0200
commit529d7205b6b3cc36abe4dd2fb507e3c10bb38a79 (patch)
tree8fbcfe9ee087d6699cacb17741e18c04d07855e8 /cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions-attribute/functions-attribute.component.html
parent424fcd63ca57bd8cfa8b46001021c29e020a8a6d (diff)
Remove save button from function Attributes tab
Issue-ID: CCSDK-3088 Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: I009b2b12826286e017a5f3dcad00b30350bf1a6f
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions-attribute/functions-attribute.component.html')
-rw-r--r--cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions-attribute/functions-attribute.component.html15
1 files changed, 8 insertions, 7 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions-attribute/functions-attribute.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions-attribute/functions-attribute.component.html
index a3e662d0f..52b66a3a1 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions-attribute/functions-attribute.component.html
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions-attribute/functions-attribute.component.html
@@ -87,8 +87,8 @@
class="icon-required-star" type="button"
[ngClass]="{'optional-attribute' : getValue(requiredInput,requiredInputs).required==false}"
aria-hidden="true"></i></label>
- <input [(ngModel)]="currentFuncion['inputs'][requiredInput]" type="text"
- class="form-control">
+ <input [(ngModel)]="currentFuncion['inputs'][requiredInput]"
+ (focusout)="saveFunctionData()" type="text" class="form-control">
</div>
<!--JSON
<div *ngIf="getValue(requiredInput,requiredInputs).type=='json'"
@@ -109,7 +109,7 @@
[ngClass]="{'optional-attribute' : getValue(requiredInput,requiredInputs).required==false}"
aria-hidden="true"></i></label>
<input [(ngModel)]="currentFuncion['inputs'][requiredInput]" type="number"
- class="form-control" placeholder="">
+ (focusout)="saveFunctionData()" class="form-control" placeholder="">
</div>
<!--boolean-->
<!-- <div *ngIf="getValue(requiredInput,requiredInputs).type=='boolean'"> -->
@@ -123,7 +123,7 @@
<div class="custom-control custom-radio custom-control-inline">
<input [value]="true"
[(ngModel)]="currentFuncion['inputs'][requiredInput]" type="radio"
- id="{{'functionRadioInline' + i}}"
+ id="{{'functionRadioInline' + i}}" (focusout)="saveFunctionData()"
name="{{'functionRadioInline' + i}}" class="custom-control-input">
<label class="custom-control-label"
for="{{'functionRadioInline' + i}}">True</label>
@@ -132,7 +132,8 @@
<input [value]="false"
[(ngModel)]="currentFuncion['inputs'][requiredInput]" type="radio"
id="{{'functionRadioInline' + i+'-a'}}"
- name="{{'functionRadioInline' + i}}" class="custom-control-input">
+ (focusout)="saveFunctionData()" name="{{'functionRadioInline' + i}}"
+ class="custom-control-input">
<label class="custom-control-label"
for="{{'functionRadioInline' + i+'-a'}}">False</label>
</div>
@@ -179,7 +180,7 @@
<label for="exampleInputEmail1">{{ requiredOutput }} <i class="icon-required-star"
type="button" aria-hidden="true"></i></label>
<input [(ngModel)]="currentFuncion['outputs'][requiredOutput]" type=" text"
- class="form-control">
+ (focusout)="saveFunctionData()" class="form-control">
</div>
</div>
</div>
@@ -218,7 +219,7 @@
</div>
</div>
<br />
- <button class="btn btn-select-template m-auto" (click)="saveFunctionData()">Save</button>
+ <!-- <button class="btn btn-select-template m-auto" (click)="saveFunctionData()">Save</button> -->
</div>
<!--function - Select Template - Modal-->