Skip to content

Commit 05bf4d7

Browse files
committed
Remove label
1 parent fe9bb16 commit 05bf4d7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/radio/radio-group.component.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,9 @@ export class RadioChange {
6565
@Component({
6666
selector: "ibm-radio-group",
6767
template: `
68-
<fieldset class="bx--fieldset">
69-
<legend *ngIf="!skeleton" class="bx--label">Radio Button heading</legend>
70-
<div class="bx--form-item">
71-
<div class="bx--radio-button-group" role="radiogroup">
72-
<ng-content></ng-content>
73-
</div>
74-
</div>
75-
</fieldset>
68+
<div class="bx--radio-button-group" role="radiogroup">
69+
<ng-content></ng-content>
70+
</div>
7671
`,
7772
providers: [
7873
{
@@ -188,6 +183,11 @@ export class RadioGroup implements OnInit, AfterContentInit, ControlValueAccesso
188183
this.updateChildren();
189184
}
190185

186+
/**
187+
* Binds 'bx--form-item' value to the class for `RadioGroup`.
188+
*/
189+
@HostBinding("class.bx--form-item") radioButtonGroupClass = true;
190+
191191
/**
192192
* To track whether the `RadioGroup` has been initialized.
193193
*/

0 commit comments

Comments
 (0)