mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
AAE-40040 Asterisk required issues for radio button and checkboxes
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<mat-checkbox [id]="field.id"
|
<mat-checkbox [id]="field.id"
|
||||||
color="primary"
|
color="primary"
|
||||||
class="adf-checkbox"
|
class="adf-checkbox"
|
||||||
[required]="isRequired()"
|
[required]="field.required"
|
||||||
[disabled]="field.readOnly || readOnly"
|
[disabled]="field.readOnly || readOnly"
|
||||||
[(ngModel)]="field.value"
|
[(ngModel)]="field.value"
|
||||||
(ngModelChange)="onFieldChanged(field)"
|
(ngModelChange)="onFieldChanged(field)"
|
||||||
|
|||||||
@@ -8,4 +8,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&-asterisk {
|
||||||
|
color: var(--adf-error-color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+7
@@ -1,6 +1,13 @@
|
|||||||
.adf {
|
.adf {
|
||||||
|
&-asterisk {
|
||||||
|
color: var(--adf-error-color);
|
||||||
|
}
|
||||||
|
|
||||||
&-radio-buttons-widget-cloud {
|
&-radio-buttons-widget-cloud {
|
||||||
.adf-label {
|
.adf-label {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 4px;
|
||||||
font-size: var(--adf-radio-buttons-font-size, var(--adf-form-label-font-size, var(--theme-caption-font-size)));
|
font-size: var(--adf-radio-buttons-font-size, var(--adf-form-label-font-size, var(--theme-caption-font-size)));
|
||||||
font-weight: var(--adf-radio-buttons-font-weight, var(--adf-form-label-font-weight, var(--theme-font-weight)));
|
font-weight: var(--adf-radio-buttons-font-weight, var(--adf-form-label-font-weight, var(--theme-font-weight)));
|
||||||
color: var(--adf-radio-buttons-color, var(--adf-form-label-color, var(--adf-theme-foreground-secondary-text-color)));
|
color: var(--adf-radio-buttons-color, var(--adf-form-label-color, var(--adf-theme-foreground-secondary-text-color)));
|
||||||
|
|||||||
Reference in New Issue
Block a user