Skip to content

Commit

Permalink
error outline on noi decision for Decision Maker field (#953)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuseinov authored Sep 7, 2023
1 parent dddf551 commit 760763b
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,15 @@ <h3>Resolution</h3>
</mat-form-field>

<div>
<mat-label>Decision Maker*</mat-label>
<mat-button-toggle-group required id="decisionMaker" formControlName="decisionMaker">
<mat-label class="toggle-label">Decision Maker*</mat-label>
<mat-button-toggle-group
required
id="decisionMaker"
formControlName="decisionMaker"
[ngClass]="{
'error-field-outlined': !form.controls.decisionMaker.valid && form.controls.decisionMaker.touched
}"
>
<mat-button-toggle value="CEO Delegate">CEO Delegate</mat-button-toggle>
<mat-button-toggle value="CEO">CEO</mat-button-toggle>
</mat-button-toggle-group>
Expand Down

0 comments on commit 760763b

Please sign in to comment.