diff options
author | andre.schmid <andre.schmid@est.tech> | 2022-03-16 12:26:32 +0000 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2022-03-21 12:28:43 +0000 |
commit | fe5660d653c8f2fa39e5946d2c9e30aac6acdb19 (patch) | |
tree | c4ee5fd2df464251a9beb7a8be9719f748de6e9f /catalog-ui/src/app/ng2/pages/composition/interface-operatons | |
parent | c32663621faf571ce855a1dc84ec4fd013718359 (diff) |
Fix default value for interface operation input
Fixes default value in interface operation input definitions. The value
is now correctly JSON stringfied.
Fixes required value that was always being set to false.
Fixes UI reporting that false values are empty.
Change-Id: I6ce8eba03d659a091e49180f1d2cc057f4a805f2
Issue-ID: SDC-3920
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Diffstat (limited to 'catalog-ui/src/app/ng2/pages/composition/interface-operatons')
-rw-r--r-- | catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.html b/catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.html index 47e50b03ad..1441a9e85b 100644 --- a/catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.html +++ b/catalog-ui/src/app/ng2/pages/composition/interface-operatons/operation-creator/input-list/input-list-item/input-list-item.component.html @@ -30,7 +30,7 @@ <ul *ngIf="isExpanded"> <li class="input-value"> <ng-container *ngIf="isViewOnly"> - {{valueObjRef}}<em class="empty-value" *ngIf="!valueObjRef">empty</em> + {{valueObjRef}}<em class="empty-value" *ngIf="valueObjRef !== false && !valueObjRef">empty</em> </ng-container> <input *ngIf="!isViewOnly" [type]="getSimpleValueInputType()" name="value" [(ngModel)]="valueObjRef" |