Added tb-form-panel-title tb-required
This commit is contained in:
parent
cfa7066ac6
commit
0e1c3d66ff
@ -65,7 +65,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<ng-container [formGroup]="configFormGroup">
|
<ng-container [formGroup]="configFormGroup">
|
||||||
<div class="tb-form-panel">
|
<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
|
<tb-calculated-field-arguments-table
|
||||||
formControlName="arguments"
|
formControlName="arguments"
|
||||||
[entityId]="data.entityId"
|
[entityId]="data.entityId"
|
||||||
@ -75,7 +75,7 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="tb-form-panel">
|
<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) {
|
@if (fieldFormGroup.get('type').value === CalculatedFieldType.SIMPLE) {
|
||||||
<mat-form-field class="mat-block" appearance="outline">
|
<mat-form-field class="mat-block" appearance="outline">
|
||||||
<input matInput formControlName="expressionSIMPLE" maxlength="255" [placeholder]="'action.set' | translate" required>
|
<input matInput formControlName="expressionSIMPLE" maxlength="255" [placeholder]="'action.set' | translate" required>
|
||||||
|
|||||||
@ -163,6 +163,13 @@
|
|||||||
.tb-form-panel-title {
|
.tb-form-panel-title {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
|
||||||
|
&.tb-required::after {
|
||||||
|
font-size: 13px;
|
||||||
|
color: rgba(0, 0, 0, .54);
|
||||||
|
vertical-align: top;
|
||||||
|
content: " *";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.tb-form-panel-hint {
|
.tb-form-panel-hint {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user