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
4 changed files with 5 additions and 17 deletions

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%;
}