datasource truncate fix
This commit is contained in:
parent
139238fb66
commit
e7d14df44f
@ -33,7 +33,7 @@
|
||||
<section class="datasource-field flex w-1/3 gap-2 xs:hidden">
|
||||
@if (group.get('refEntityId')?.get('id')?.value) {
|
||||
<ng-container [formGroup]="group.get('refEntityId')">
|
||||
<mat-form-field appearance="outline" class="tb-inline-field flex-1" subscriptSizing="dynamic">
|
||||
<mat-form-field appearance="outline" class="tb-inline-field w-1/2" subscriptSizing="dynamic">
|
||||
<mat-select [value]="group.get('refEntityId').get('entityType').value" formControlName="entityType">
|
||||
<mat-option [value]="group.get('refEntityId').get('entityType').value">
|
||||
{{ entityTypeTranslations.get(group.get('refEntityId').get('entityType').value)?.type | translate }}
|
||||
@ -41,12 +41,13 @@
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
<tb-entity-autocomplete
|
||||
class="flex-1"
|
||||
class="entity-field w-1/2"
|
||||
formControlName="id"
|
||||
[inlineField]="true"
|
||||
[hideLabel]="true"
|
||||
[placeholder]="'action.set' | translate"
|
||||
[entityType]="group.get('refEntityId').get('entityType').value"/>
|
||||
[entityType]="group.get('refEntityId').get('entityType').value"
|
||||
/>
|
||||
</ng-container>
|
||||
} @else {
|
||||
<mat-form-field appearance="outline" class="tb-inline-field flex-1" subscriptSizing="dynamic">
|
||||
|
||||
@ -40,9 +40,13 @@
|
||||
}
|
||||
|
||||
:host ::ng-deep {
|
||||
.tb-inline-field {
|
||||
.entity-field {
|
||||
a {
|
||||
font-size: 14px;
|
||||
white-space: nowrap;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user