Merged PR 947: #1985 Kundentyp-Checkbox nicht mehr abwählbar

#1985 Kundentyp-Checkbox nicht mehr abwählbar

Related work items: #1985
This commit is contained in:
Andreas Schickinger
2021-11-09 15:00:32 +00:00
committed by Nino Righi
parent 49bb23805e
commit 963aaa974e
2 changed files with 5 additions and 1 deletions

View File

@@ -33,7 +33,7 @@
*ngFor="let option of value?.values"
[ngModel]="option.selected"
(ngModelChange)="check($event, option)"
[disabled]="!option.enabled"
[disabled]="!option.enabled || option.selected"
>
{{ option.label }}
</ui-checkbox>

View File

@@ -1,3 +1,7 @@
:host {
@apply grid grid-flow-col flex-row text-card-sub justify-center gap-6;
}
ui-checkbox.disabled.checked {
@apply text-black;
}