diff --git a/projects/common/ui-elements/radio/radio-button-group.component.ts b/projects/common/ui-elements/radio/radio-button-group.component.ts index ed5db71aecef2d6d891a9944c3bb225abd6ad816..1e6c4c29fe2b403de51b42f6af9c41e42f4613ac 100644 --- a/projects/common/ui-elements/radio/radio-button-group.component.ts +++ b/projects/common/ui-elements/radio/radio-button-group.component.ts @@ -28,8 +28,8 @@ import { RadioButtonGroupElement } from './radio-button-group-element'; <mat-radio-button *ngFor="let option of elementModel.options; let i = index" [ngClass]="{ 'strike' : elementModel.strikeOtherOptions && elementFormControl.value !== null && - elementFormControl.value !== i }" - [value]="i" + elementFormControl.value !== i + 1 }" + [value]="i + 1" [style.pointer-events]="elementModel.readOnly ? 'none' : 'unset'" [style.line-height.%]="elementModel.fontProps.lineHeight"> {{option}}