summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages/properties-assignment/tosca-function/tosca-get-function/tosca-get-function.component.html
diff options
context:
space:
mode:
authorshikha0203 <shivani.khare@est.tech>2023-06-14 15:33:18 +0100
committerVasyl Razinkov <vasyl.razinkov@est.tech>2023-06-19 22:44:26 +0000
commit068a01213a8b2daac93b0c2aab33b9a73e7fb70b (patch)
treeaa3ef3e0ed773a0e0a3d7d6f989aa6583e75e24d /catalog-ui/src/app/ng2/pages/properties-assignment/tosca-function/tosca-get-function/tosca-get-function.component.html
parent4898da84c488cd51f872be95be5512f1fc6273a3 (diff)
No error on invalid index
Issue-ID: SDC-4534 Signed-off-by: shikha0203 <shivani.khare@est.tech> Change-Id: I7df59d0b8a362d15d54d1a6b862201fd0caf1e31
Diffstat (limited to 'catalog-ui/src/app/ng2/pages/properties-assignment/tosca-function/tosca-get-function/tosca-get-function.component.html')
-rw-r--r--catalog-ui/src/app/ng2/pages/properties-assignment/tosca-function/tosca-get-function/tosca-get-function.component.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/catalog-ui/src/app/ng2/pages/properties-assignment/tosca-function/tosca-get-function/tosca-get-function.component.html b/catalog-ui/src/app/ng2/pages/properties-assignment/tosca-function/tosca-get-function/tosca-get-function.component.html
index a609db41b8..2d1e26bb3c 100644
--- a/catalog-ui/src/app/ng2/pages/properties-assignment/tosca-function/tosca-get-function/tosca-get-function.component.html
+++ b/catalog-ui/src/app/ng2/pages/properties-assignment/tosca-function/tosca-get-function/tosca-get-function.component.html
@@ -36,7 +36,9 @@
</form>
<div class="i-sdc-form-item" *ngFor="let indexVal of indexListValues; index as i">
<label class="i-sdc-form-label required" *ngIf="indexVal.indexFlag">Index</label>
- <input type="text" *ngIf="indexVal.indexFlag" [(ngModel)]="indexVal.indexValue" (change)="indexTokenChange(indexVal)"/>
+ <input type="text" *ngIf="indexVal.indexFlag" [(ngModel)]="indexVal.indexValue" (change)="indexTokenChange(indexVal)"
+ (input)="onChangeIndexValue(indexVal, $event.target.value)"/>
+ <span id ="error" class="input-error"></span>
<label class="i-sdc-form-label required" *ngIf="indexVal.nestedFlag">{{dropdownValuesLabel}}</label>
<select [(ngModel)]="indexVal.indexProperty" *ngIf="indexVal.nestedFlag" (change)="onSubPropertyValueChange(indexVal,i)">
<option *ngFor="let value of indexVal.subPropertyArray" [ngValue]="value">{{value.propertyLabel}}</option>