Skip to content
Snippets Groups Projects
Commit 84dae27c authored by jojohoch's avatar jojohoch
Browse files

Fix label of `RadioButtonGroupComponent`

Use `elementModel.label` instead of `elementModel.text`
parent 46096813
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ import { FormElementComponent } from '../form-element-component.directive';
[style.font-weight]="elementModel.bold ? 'bold' : ''"
[style.font-style]="elementModel.italic ? 'italic' : ''"
[style.text-decoration]="elementModel.underline ? 'underline' : ''">
<label id="radio-group-label">{{elementModel.text}}</label>
<label id="radio-group-label">{{elementModel.label}}</label>
<mat-radio-group aria-labelledby="radio-group-label" fxLayout="{{elementModel.alignment}}"
[formControl]="formControl">
<mat-radio-button *ngFor="let option of elementModel.options" [value]="option">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment