diff --git a/api-generator/components/checkbox.js b/api-generator/components/checkbox.js index d98987487..40f547fd4 100644 --- a/api-generator/components/checkbox.js +++ b/api-generator/components/checkbox.js @@ -17,6 +17,12 @@ const CheckboxProps = [ default: "false", description: "Allows to select a boolean value instead of multiple values." }, + { + name: "tabindex", + type: "number", + default: "null", + description: "Index of the element in tabbing order." + }, { name: "class", type: "string", diff --git a/src/components/checkbox/Checkbox.d.ts b/src/components/checkbox/Checkbox.d.ts index 5129df124..0bc386ed1 100755 --- a/src/components/checkbox/Checkbox.d.ts +++ b/src/components/checkbox/Checkbox.d.ts @@ -13,6 +13,10 @@ export interface CheckboxProps { * Allows to select a boolean value instead of multiple values. */ binary?: boolean; + /** + * Index of the element in tabbing order. + */ + tabindex?: number; /** * Style class of the component input field. */ diff --git a/src/components/checkbox/Checkbox.vue b/src/components/checkbox/Checkbox.vue index d7d8f767e..aad396afb 100755 --- a/src/components/checkbox/Checkbox.vue +++ b/src/components/checkbox/Checkbox.vue @@ -1,9 +1,9 @@