File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/components/form-checkbox Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ export default {
1212 return h (
1313 'b-form-checkbox' ,
1414 {
15- key : `radio_ ${ idx } _opt` ,
15+ key : `check_ ${ idx } _opt` ,
1616 props : {
17- id : t . safeId ( `_BV_radio_ ${ idx } _opt_` ) ,
17+ id : t . safeId ( `_BV_check_ ${ idx } _opt_` ) ,
1818 name : t . name ,
1919 value : option . value ,
2020 required : t . name && t . required ,
@@ -32,6 +32,7 @@ export default {
3232 id : t . safeId ( ) ,
3333 role : 'group' ,
3434 tabindex : '-1' ,
35+ // `data-toggle="buttons" will not be needed in BS V4.beta.3
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 const t = this
9394 if ( t . buttons ) {
9495 return [
96+ 'btn-group-toggle' ,
9597 t . stacked ? 'btn-group-vertical' : 'btn-group' ,
9698 t . size ? `btn-group-${ this . size } ` : '' ,
9799 t . validated ? `was-validated` : ''
You can’t perform that action at this time.
0 commit comments