Skip to content

Commit bcfe769

Browse files
committed
fix(check-radios): button radio toggle group with disabled input
1 parent 915e1d0 commit bcfe769

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/app/views/forms/checks-radios/checks-radios.component.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,10 +289,8 @@
289289
<input class="btn-check" formControlName="radio1" id="radio2" type="radio" value="Radio2" />
290290
<label (click)="setRadioValue('Radio2')" cButton cFormCheckLabel for="radio2"
291291
variant="ghost">Radio 2</label>
292-
<fieldset disabled>
293-
<input class="btn-check" formControlName="radio1" id="radio3" type="radio" value="Radio3" />
294-
<label (click)="setRadioValue('Radio3')" cButton cFormCheckLabel for="radio3" variant="ghost">Radio3</label>
295-
</fieldset>
292+
<input class="btn-check" formControlName="radio1" id="radio3" type="radio" value="Radio3" [attr.disabled]="true" />
293+
<label (click)="setRadioValue('Radio3')" cButton cFormCheckLabel for="radio3" variant="ghost">Radio3</label>
296294
</c-button-group>
297295
</div>
298296
</app-docs-example>

0 commit comments

Comments
 (0)