AAE-48227 replacing custom labels with mat-labels

This commit is contained in:
Isoumyajit
2026-09-08 17:07:15 +05:30
parent 27c700165c
commit 008d8ab6e2
30 changed files with 64 additions and 66 deletions
@@ -5,6 +5,7 @@
} @else {
<div
class="adf-cloud-form-container adf-cloud-form-{{ displayConfiguration?.options?.fullscreen ? 'fullscreen' : 'inline' }}-container"
data-automation-id="adf-cloud-form-container"
[style]="formStyle"
>
<div
@@ -135,7 +135,8 @@
}
}
.adf-label {
.adf-label,
.adf-display-external-property-widget-label {
white-space: normal;
}
}
@@ -21,7 +21,7 @@
[class.adf-left-label-input-datepicker]="field.leftLabels"
>
@if ( (field.name || field?.required) && !field.leftLabels) {
<mat-label class="adf-label" [attr.for]="field.id">
<mat-label class="adf-label">
{{field.name | translate }} ({{field.dateDisplayFormat}})
</mat-label>
}
@@ -13,7 +13,7 @@
<div>
<mat-form-field class="adf-form-field-input" subscriptSizing="dynamic" [floatLabel]="field.placeholder ? 'always' : null">
@if( (field.name || field?.required) && !field.leftLabels) {
<mat-label class="adf-label" [attr.for]="field.id"> {{ field.name | translate }} </mat-label>
<mat-label class="adf-display-external-property-widget-label" data-automation-id="adf-display-external-property-widget-label"> {{ field.name | translate }} </mat-label>
}
<input
matInput
@@ -4,7 +4,7 @@
&-display-external-property-widget {
width: 100%;
.adf-label {
.adf-display-external-property-widget-label {
top: 20px;
}
@@ -14,7 +14,7 @@
<div class="adf-dropdown-widget-container">
<mat-form-field class="adf-form-field-input" subscriptSizing="dynamic">
@if ( (field.name || this.field?.required) && !field.leftLabels) {
<mat-label class="adf-label" [attr.for]="field.id">{{ field.name | translate }}</mat-label>
<mat-label class="adf-label">{{ field.name | translate }}</mat-label>
}
<mat-select
class="adf-select"