Permalink
Browse files

fix(form-radio-group): prepare for bootstrap V4.beta.3

  • Loading branch information...
tmorehouse committed Dec 7, 2017
1 parent f27f262 commit 5b659d17ecb4aeaed5d9a0a4e3940de61c8a8a29
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/components/form-checkbox/form-checkbox-group.js
@@ -12,9 +12,9 @@ export default {
return h(
'b-form-checkbox',
{
key: `radio_${idx}_opt`,
key: `check_${idx}_opt`,
props: {
id: t.safeId(`_BV_radio_${idx}_opt_`),
id: t.safeId(`_BV_check_${idx}_opt_`),
name: t.name,
value: option.value,
required: t.name && t.required,
@@ -32,6 +32,7 @@ export default {
id: t.safeId(),
role: 'group',
tabindex: '-1',
// `data-toggle="buttons" will not be needed in BS V4.beta.3
'data-toggle': t.buttons ? 'buttons' : null, // Needed for styling only!
'aria-required': t.required ? 'true' : null,
'aria-invalid': t.computedAriaInvalid
@@ -92,6 +93,7 @@ export default {
const t = this
if (t.buttons) {
return [
'btn-group-toggle',
t.stacked ? 'btn-group-vertical' : 'btn-group',
t.size ? `btn-group-${this.size}` : '',
t.validated ? `was-validated` : ''

0 comments on commit 5b659d1

Please sign in to comment.