File tree Expand file tree Collapse file tree 5 files changed +3
-4
lines changed Expand file tree Collapse file tree 5 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ export default {
66
66
staticClass : 'v-input--selection-controls__input'
67
67
} , [
68
68
this . genInput ( 'checkbox' , {
69
+ ...this . $attrs ,
69
70
'aria-checked' : this . inputIndeterminate
70
71
? 'mixed'
71
72
: this . isActive . toString ( )
Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ export default {
48
48
/** @deprecated */
49
49
prependIconCb : Function ,
50
50
readonly : Boolean ,
51
- tabindex : { default : 0 } ,
52
51
value : { required : false }
53
52
} ,
54
53
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ export default {
247
247
'aria-label' : this . label ,
248
248
name : this . name ,
249
249
role : 'slider' ,
250
- tabindex : this . disabled ? - 1 : undefined ,
250
+ tabindex : this . disabled ? - 1 : this . $attrs . tabindex ,
251
251
type : 'range' ,
252
252
value : this . internalValue ,
253
253
readonly : true ,
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export default {
36
36
return this . $createElement ( 'div' , {
37
37
staticClass : 'v-input--selection-controls__input'
38
38
} , [
39
- this . genInput ( 'checkbox' ) ,
39
+ this . genInput ( 'checkbox' , this . $attrs ) ,
40
40
! this . disabled && this . genRipple ( {
41
41
'class' : this . classesSelectable ,
42
42
directives : [ {
Original file line number Diff line number Diff line change @@ -318,7 +318,6 @@ export default {
318
318
autofocus : this . autofocus ,
319
319
disabled : this . disabled ,
320
320
readonly : this . readonly ,
321
- tabindex : this . tabindex ,
322
321
type : this . type ,
323
322
'aria-label' : ( ! this . $attrs || ! this . $attrs . id ) && this . label // Label `for` will be set if we have an id
324
323
} ,
You can’t perform that action at this time.
0 commit comments