Skip to content

Commit 39eb237

Browse files
authored
fix(form-radio-group): prepare for bootstrap V4.beta.3
1 parent 5b659d1 commit 39eb237

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/form-radio/form-radio-group.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export default {
3232
id: t.safeId(),
3333
role: 'radiogroup',
3434
tabindex: '-1',
35+
// `data-toggle="buttons"` can be removed when BSV4.beta.3 is released
3536
'data-toggle': t.buttons ? 'buttons' : null, // Needed for styling only!
3637
'aria-required': t.required ? 'true' : null,
3738
'aria-invalid': t.computedAriaInvalid
@@ -92,6 +93,7 @@ export default {
9293
groupClasses () {
9394
if (this.buttons) {
9495
return [
96+
'btn-group-toggle',
9597
this.stacked ? 'btn-group-vertical' : 'btn-group',
9698
this.size ? `btn-group-${this.size}` : '',
9799
this.validated ? `was-validated` : ''

0 commit comments

Comments
 (0)