mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2296] Background color on form buttons (#2953)
* add a targeting ID for any Form button * custom outcome style ID
This commit is contained in:
committed by
Denys Vuika
parent
6e57cd3e17
commit
ae0994edf1
@@ -30,7 +30,7 @@
|
||||
</mat-card-content>
|
||||
<mat-card-actions *ngIf="form.hasOutcomes()" class="adf-form-mat-card-actions">
|
||||
<!--[class.mdl-button--colored]="!outcome.isSystem"-->
|
||||
<button *ngFor="let outcome of form.outcomes"
|
||||
<button [id]="'adf-form-'+ outcome.name | lowercase" *ngFor="let outcome of form.outcomes"
|
||||
[color]="getColorForOutcome(outcome.name)"
|
||||
mat-button
|
||||
[disabled]="!isOutcomeButtonEnabled(outcome)"
|
||||
|
Reference in New Issue
Block a user