remove depend on from the general render (#7442)

This commit is contained in:
Eugenio Romano 2022-01-10 13:58:10 +01:00 committed by GitHub
parent 131963f4ab
commit 7c7b1eadf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 17 deletions

View File

@ -9,3 +9,7 @@
}
}
}
.mat-datetimepicker-toggle {
color: var(--theme-icon-fg-color);
}

View File

@ -43,7 +43,6 @@
"UPLOAD": "UPLOAD",
"REQUIRED": "*Required",
"FILE_NAME": "File Name",
"DEPENDS_ON": "Depends on: {{widgetId}}",
"NO_FILE_ATTACHED": "No file attached",
"VALIDATOR": {
"INVALID_NUMBER": "Use a different number format",

View File

@ -2,11 +2,7 @@
[class.adf-invalid]="!field.isValid" [class.adf-readonly]="field.readOnly">
<div class="adf-dropdown-widget-top-labels">
<label class="adf-label" [attr.for]="field.id">{{field.name | translate }}<span
*ngIf="isRequired()">*</span></label>
<label class="adf-label adf-dropdown-widget-linked"
*ngIf="isLinkedWidget()"
[attr.for]="field.id">
{{ 'FORM.FIELD.DEPENDS_ON' | translate: { widgetId: getLinkedWidgetId() } }}
*ngIf="isRequired()">*</span>
</label>
</div>
<mat-form-field>

View File

@ -12,17 +12,6 @@
font-size: 14px;
}
&-top-labels {
display: flex;
flex-direction: row;
justify-content: space-between;
height: 16px;
.adf-dropdown-widget-linked {
display: contents;
}
}
&-select {
width: 100%;
}