diff --git a/api-generator/components/inputswitch.js b/api-generator/components/inputswitch.js index b05d8b32d..39e95c9a3 100644 --- a/api-generator/components/inputswitch.js +++ b/api-generator/components/inputswitch.js @@ -17,6 +17,12 @@ const InputSwitchProps = [ default: "null", description: "Inline of the component." }, + { + name: "tabindex", + type: "number", + default: "null", + description: "Index of the element in tabbing order." + }, { name: "trueValue", type: "any", diff --git a/src/components/inputswitch/InputSwitch.d.ts b/src/components/inputswitch/InputSwitch.d.ts index a4723b9ac..546a7b516 100755 --- a/src/components/inputswitch/InputSwitch.d.ts +++ b/src/components/inputswitch/InputSwitch.d.ts @@ -13,6 +13,10 @@ export interface InputSwitchProps { * Style class of the component input field. */ style?: any; + /** + * Index of the element in tabbing order. + */ + tabindex?: number; /** * Value in checked state. */ diff --git a/src/components/inputswitch/InputSwitch.vue b/src/components/inputswitch/InputSwitch.vue index 2eabc20ae..b4e288b95 100755 --- a/src/components/inputswitch/InputSwitch.vue +++ b/src/components/inputswitch/InputSwitch.vue @@ -1,8 +1,8 @@