[ADF-3615] created a pipe to replace empty space in strings with a special character (#4005)

This commit is contained in:
Vito
2018-11-26 16:15:50 +00:00
committed by Eugenio Romano
parent 91e5251bd0
commit 8a09d0db6a
5 changed files with 135 additions and 4 deletions

View File

@@ -37,7 +37,7 @@
</mat-card-content>
<mat-card-actions *ngIf="form.hasOutcomes()" class="adf-form-mat-card-actions">
<!--[class.mdl-button--colored]="!outcome.isSystem"-->
<button [id]="'adf-form-'+ outcome.name | lowercase" *ngFor="let outcome of form.outcomes"
<button [id]="'adf-form-'+ outcome.name | formatSpace" *ngFor="let outcome of form.outcomes"
[color]="getColorForOutcome(outcome.name)"
mat-button
[disabled]="!isOutcomeButtonEnabled(outcome)"