Added tb-form-panel-title tb-required

This commit is contained in:
mpetrov 2025-02-07 16:29:27 +02:00
parent cfa7066ac6
commit 0e1c3d66ff
2 changed files with 9 additions and 2 deletions

View File

@ -65,7 +65,7 @@
</div>
<ng-container [formGroup]="configFormGroup">
<div class="tb-form-panel">
<div class="tb-form-panel-title">{{ 'calculated-fields.arguments' | translate }}*</div>
<div class="tb-form-panel-title tb-required">{{ 'calculated-fields.arguments' | translate }}</div>
<tb-calculated-field-arguments-table
formControlName="arguments"
[entityId]="data.entityId"
@ -75,7 +75,7 @@
/>
</div>
<div class="tb-form-panel">
<div class="tb-form-panel-title">{{ 'calculated-fields.expression' | translate }}*</div>
<div class="tb-form-panel-title tb-required">{{ 'calculated-fields.expression' | translate }}</div>
@if (fieldFormGroup.get('type').value === CalculatedFieldType.SIMPLE) {
<mat-form-field class="mat-block" appearance="outline">
<input matInput formControlName="expressionSIMPLE" maxlength="255" [placeholder]="'action.set' | translate" required>

View File

@ -163,6 +163,13 @@
.tb-form-panel-title {
font-weight: 500;
font-size: 16px;
&.tb-required::after {
font-size: 13px;
color: rgba(0, 0, 0, .54);
vertical-align: top;
content: " *";
}
}
.tb-form-panel-hint {
font-size: 12px;