diff options
author | 2021-01-19 04:17:52 +0000 | |
---|---|---|
committer | 2021-01-19 04:17:52 +0000 | |
commit | 6281b63c9b417e3bf8826d9c2a61e8f3781f3d71 (patch) | |
tree | 0931d61b4eba42ac403b8d6c1d363a09f3403a0d /cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions-attribute/functions-attribute.component.html | |
parent | fc5fa67b192b25a6507212cf1b3082134c6cb2a6 (diff) | |
parent | 529d7205b6b3cc36abe4dd2fb507e3c10bb38a79 (diff) |
Merge "Remove save button from function Attributes tab"
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.html | 15 |
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--> |