diff options
author | Arielk <Ariel.Kenan@amdocs.com> | 2019-01-27 16:30:57 +0200 |
---|---|---|
committer | Avi Gaffa <avi.gaffa@amdocs.com> | 2019-01-28 15:01:13 +0000 |
commit | afd5f9573dfd0c89758ea3f0c0b02a838888ef90 (patch) | |
tree | 2ed98ba275fc50bf7bc44e5c0bf680f081ebf05a /catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/param-row/param-row.component.html | |
parent | 431ea6573f40fca7415cc189604226c396cd60ed (diff) |
Map operation outputs to input properties
Change-Id: Iedf41e429c87ac9e15c8ff520e3ce7d69e44293d
Issue-ID: SDC-2084
Signed-off-by: Arielk <Ariel.Kenan@amdocs.com>
Diffstat (limited to 'catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/param-row/param-row.component.html')
-rw-r--r-- | catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/param-row/param-row.component.html | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/param-row/param-row.component.html b/catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/param-row/param-row.component.html index d23783715c..aa4277c004 100644 --- a/catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/param-row/param-row.component.html +++ b/catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/param-row/param-row.component.html @@ -38,14 +38,27 @@ </div> <div class="cell field-property" *ngIf="isInputParam"> - <ui-element-dropdown + <select *ngIf="filteredInputProps.length || !isAssociateWorkflow" - [testId]="'param-property-' + (param.name || 'unnamed')" - [values]="filteredInputProps" - [(value)]="param.inputId" - (valueChange)="onChangeProperty($event)" - [readonly]="readonly"> - </ui-element-dropdown> + [(ngModel)]="param.inputId" + (change)="onChangeProperty($event)" + [ngClass]="{'disabled': readonly}" + [attr.data-tests-id]="'value-param-property-' + (param.name || 'unnamed')"> + <option + *ngFor="let prop of filteredInputProps" + [ngValue]="prop.value"> + {{prop.label}} + </option> + <optgroup + *ngFor="let operation of operationOutputCats" + label="{{operation.operationName}}"> + <option + *ngFor="let output of operation.outputs" + [ngValue]="output.value"> + {{output.label}} + </option> + </optgroup> + </select> <span *ngIf="!filteredInputProps.length && isAssociateWorkflow" class="no-properties-error"> |