-
Notifications
You must be signed in to change notification settings - Fork 7
feat: 802 combobox #852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: next-minor
Are you sure you want to change the base?
feat: 802 combobox #852
Changes from 5 commits
23baf37
d54c2e2
ac0ddc2
d81c01e
26a0abb
b2bac18
417d834
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,60 +26,52 @@ | |
| </div> | ||
| <div class="row mb-5"> | ||
| <div class="col-4"> | ||
| <label for="sourceDef">Source Definition</label> | ||
| <select | ||
| class="form-control" | ||
| id="sourceDef" | ||
| [ngModel]="fields.source.definition" | ||
| (ngModelChange)="loadProcessDefinitionVersions($event, 'source')" | ||
| <cds-combo-box | ||
| [dropUp]="false" | ||
| [appendInline]="true" | ||
| [label]="'Source Definition'" | ||
| [placeholder]="'- Source Definition -'" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also this translation |
||
| [items]="sourceDefinitionItems" | ||
| (selected)="onDefinitionSelected($event, 'source')" | ||
| > | ||
| <option [ngValue]="null" selected>- Source Definition -</option> | ||
| <option *ngFor="let processDef of processDefinitions" [ngValue]="processDef.key"> | ||
| {{ processDef.name }} | ||
| </option> | ||
| </select> | ||
| <cds-dropdown-list></cds-dropdown-list> | ||
| </cds-combo-box> | ||
| </div> | ||
| <div class="col-2"> | ||
| <label for="sourceVer">Source Version</label> | ||
| <select | ||
| class="form-control" | ||
| id="sourceVer" | ||
| [ngModel]="fields.source.version" | ||
| (ngModelChange)="loadProcess($event, 'source')" | ||
| <cds-combo-box | ||
| [dropUp]="false" | ||
| [appendInline]="true" | ||
| [label]="'Source Version'" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also this translation |
||
| [placeholder]="'- Source Version -'" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here |
||
| [items]="sourceVersionItems" | ||
| (selected)="onVersionSelected($event, 'source')" | ||
| > | ||
| <option [ngValue]="null" selected>- Source Version -</option> | ||
| <option *ngFor="let processVer of selectedVersions.source" [ngValue]="processVer.id"> | ||
| {{ processVer.version }} | ||
| </option> | ||
| </select> | ||
| <cds-dropdown-list></cds-dropdown-list> | ||
| </cds-combo-box> | ||
| </div> | ||
| <div class="col-4"> | ||
| <label for="targetDef">Target Definition</label> | ||
| <select | ||
| class="form-control" | ||
| id="targetDef" | ||
| [ngModel]="fields.target.definition" | ||
| (ngModelChange)="loadProcessDefinitionVersions($event, 'target')" | ||
| <cds-combo-box | ||
| [dropUp]="false" | ||
| [appendInline]="true" | ||
| [label]="'Target Definition'" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here |
||
| [placeholder]="'- Target Definition -'" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here |
||
| [items]="targetDefinitionItems" | ||
| (selected)="onDefinitionSelected($event, 'target')" | ||
| > | ||
| <option [ngValue]="null" selected>- Target Definition -</option> | ||
| <option *ngFor="let processDef of processDefinitions" [ngValue]="processDef.key"> | ||
| {{ processDef.name }} | ||
| </option> | ||
| </select> | ||
| <cds-dropdown-list></cds-dropdown-list> | ||
| </cds-combo-box> | ||
| </div> | ||
| <div class="col-2"> | ||
| <label for="targetVer">Target Version</label> | ||
| <select | ||
| class="form-control" | ||
| id="targetVer" | ||
| [ngModel]="fields.target.version" | ||
| (ngModelChange)="loadProcess($event, 'target')" | ||
| <cds-combo-box | ||
| [dropUp]="false" | ||
| [appendInline]="true" | ||
| [label]="'Target Version'" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here |
||
| [placeholder]="'- Target Version -'" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here |
||
| [items]="targetVersionItems" | ||
| (selected)="onVersionSelected($event, 'target')" | ||
| > | ||
| <option [ngValue]="null" selected>- Target Version -</option> | ||
| <option *ngFor="let processVer of selectedVersions.target" [ngValue]="processVer.id"> | ||
| {{ processVer.version }} | ||
| </option> | ||
| </select> | ||
| <cds-dropdown-list></cds-dropdown-list> | ||
| </cds-combo-box> | ||
| </div> | ||
| </div> | ||
|
|
||
|
|
@@ -103,15 +95,15 @@ | |
| <tr *ngFor="let node of uniqueFlowNodeMap"> | ||
| <td>{{ node.name ? node.name : node.id }}</td> | ||
| <td> | ||
| <select class="form-control" (change)="taskMapping[node.id] = $event.target.value"> | ||
| <option [value]="null" disabled selected>- Choose Target -</option> | ||
| <option | ||
| *ngFor="let targetFlowNode of getFilteredTargetFlowNodeMap(node.$type)" | ||
| [value]="targetFlowNode.id" | ||
| > | ||
| {{ targetFlowNode.name ? targetFlowNode.name : targetFlowNode.id }} | ||
| </option> | ||
| </select> | ||
| <cds-combo-box | ||
| [dropUp]="false" | ||
| [appendInline]="true" | ||
| [placeholder]="'- Choose Target -'" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here |
||
| [items]="getFilteredTargetFlowNodeMapItems(node)" | ||
| (selected)="onTaskMappingSelected($event, node.id)" | ||
| > | ||
| <cds-dropdown-list></cds-dropdown-list> | ||
| </cds-combo-box> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add this to the translations, please?