Skip to content

Commit c6a4da7

Browse files
committed
[DSC-1994] Show error class for check-boxes and radio-boxes
1 parent 7044cbd commit c6a4da7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/app/shared/form/builder/ds-dynamic-form-ui/models/list/dynamic-list.component.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
[attr.aria-labelledby]="'label_' + model.id"
1515
[attr.tabindex]="item.index"
1616
[checked]="item.value"
17+
[class.is-invalid]="showErrorMessages"
1718
[id]="model.id + item.id"
1819
[formControlName]="item.id"
1920
[name]="model.name"
@@ -46,6 +47,7 @@
4647

4748
<input type="radio" class="custom-control-input"
4849
[checked]="item.value"
50+
[class.is-invalid]="showErrorMessages"
4951
[id]="model.id + item.id"
5052
[name]="model.id"
5153
[required]="model.required"

0 commit comments

Comments
 (0)