RED-8342 - Component Editor not showing all values for a multi-value-component

This commit is contained in:
Valentin Mihai 2024-05-22 16:14:00 +03:00
parent 0e7d234c70
commit 76c2562d7f
3 changed files with 4 additions and 18 deletions

View File

@ -1,9 +1,7 @@
<ng-container *ngIf="!editing">
<div *ngIf="showPreview" class="value">
<div>
<div *ngIf="showDot" class="dot"></div>
</div>
{{ value }}
<div *ngIf="showPreview">
<li *ngIf="listValue; else simpleValue">{{ value }}</li>
<ng-template #simpleValue> {{ value }} </ng-template>
</div>
<div class="flex">

View File

@ -22,15 +22,3 @@ textarea {
form {
width: 100%;
}
.value {
display: flex;
gap: 5px;
div {
.dot {
margin-top: 3px;
position: relative;
}
}
}

View File

@ -25,7 +25,7 @@ export class EditableInputComponent implements OnChanges {
@Input() buttonsType: CircleButtonType = CircleButtonTypes.default;
@Input() helpModeKey: string = '';
@Input() lastChild = false;
@Input() showDot = false;
@Input() listValue = false;
@Output() readonly save = new EventEmitter<string>();
parentDimensions?: { width: number; height: number };
newValue = '';