Skip to content

Commit

Permalink
[DSC-1994] Show error class for check-boxes and radio-boxes
Browse files Browse the repository at this point in the history
  • Loading branch information
atarix83 committed Oct 24, 2024
1 parent 7044cbd commit c6a4da7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
[attr.aria-labelledby]="'label_' + model.id"
[attr.tabindex]="item.index"
[checked]="item.value"
[class.is-invalid]="showErrorMessages"
[id]="model.id + item.id"
[formControlName]="item.id"
[name]="model.name"
Expand Down Expand Up @@ -46,6 +47,7 @@

<input type="radio" class="custom-control-input"
[checked]="item.value"
[class.is-invalid]="showErrorMessages"
[id]="model.id + item.id"
[name]="model.id"
[required]="model.required"
Expand Down

0 comments on commit c6a4da7

Please sign in to comment.