This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Description
@if (form) {
<mat-card style="min-width: 260px;">
<mat-card-content>
<fields [form]="form"></fields>
<button>
@if (form.submitted) {
<mat-progress-spinner
[mode]="'indeterminate'"
[diameter]="16"
style="display: inline-block; margin-right: 12px;"
>
</mat-progress-spinner>
}
</button>
</mat-card-content>
</mat-card>
}
in the above example, that inner if statement is not colourized, it's just grey like below:
